PHP openssl_sign DIES

﹥>﹥吖頭↗ 提交于 2019-12-10 10:57:10

问题


I am trying to use openssl_sign in PHP but every time the page says:

Cannot display the page. It throws error.

if i put die("hello"); right before openssl_sign function then it displays hello but if i put right after then i get internet explorer error cannot display page, connection has been terminated or whatever the message goes...

I tried ini set and error reporting and checking loogs of php and apache and there are no nay errors.

someone have any clue or can at least explain me?

thank you!


回答1:


I have this problem when working with Google PHP Client Library. Following the answer in this topic: PHP openssl_public_encrypt causing Page Timeout/Connection Reset?, my problem is solved. Hoping this note will help you too.

Replace the following two files in your xampp/apache/bin folder:

  • libeay32.dll
  • ssleay32.dll with the files of the same name in your xampp/php folder. The issue was resolve for me immediately.


来源:https://stackoverflow.com/questions/15513063/php-openssl-sign-dies

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!