Page 1 of 1

1.7.7 OpenSSl broken for PHP

PostPosted: 24. December 2011 21:09
by JohnStevenson
Are you aware that you cannot use many of PHP's openssl functions without crashing Apache (1.7.7 for Windows, PHP 5.3.8 ). The problem is that the version of the open ssl libraries that Apache is compiled with is not the same as the ones that PHP uses. More info here:

https://bugs.php.net/bug.php?id=55470.

I had just upgraded from 1.7.1 and spent far too long finding this out. Oh well, back to the good old days of a separate Apache, PHP and Mysql (which is actually much easier to set-up than it used to be).

Cheers

John

Re: 1.7.7 OpenSSl broken for PHP

PostPosted: 31. December 2011 12:41
by nick_bg
Thank you for the info!

Before finding this thread I spent a good few hours trying to figure out why my email script was giving me an SSL error.

I'm back to 1.7.3 and everything works as expected now. I hope they fix this issue in the next version.

Re: 1.7.7 OpenSSl broken for PHP

PostPosted: 23. May 2012 11:44
by SEO
Hi there!

Has this bug been fixed yet or did you find a solution for this problem yet? I am experiencing problems with the following PHP function for authenticating with the new Google OAuth 2.0 system.

Code: Select all
openssl_sign($data, $signature, $this->privateKey, "sha256");


http://code.google.com/p/google-api-php-client/wiki/OAuth2#Service_Accounts

Best Regards,
Jan

Re: 1.7.7 OpenSSl broken for PHP

PostPosted: 23. May 2012 12:45
by SEO
I found a solution for the problem, it seems there are 2 wrong files in /apache/bin/ in the default 1.7.7 installation that need to be replaced by the files existing in /php/ (libeay32.ddl and ssleay32.dll)

http://www.spot-net.nl/forums/viewtopic ... 182#p45645

[edited by JonB - as the forum is in Dutch, I suggest you open in a Chrome browser & use built-in translator]