Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: PHP 7 test with OpenSSL_Applink |
|
Author |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 06 Jul '15 13:52 Post subject: PHP 7 test with OpenSSL_Applink |
|
|
In discussion with the PHP team:
Several ext/openssl functions require the inclusion of the applink shim as documented in the OpenSSL FAQ to properly work on Windows. The applink shim is already integrated with all the PHP executables from the official distribution starting with 7.0.0 beta1.
Th Applink shim sould also be in httpd.exe.
Maybe you can test/verify it with with script at http://apaste.info/3Mb
All was fine with the shim, test builds removed
Thanks,
Steffen |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Mon 06 Jul '15 18:23 Post subject: |
|
|
I had already seen Anatol's commit to php-master and was wondering which functions required the inclusion of the applink shim. There was no reference to a bug-report in the commit.
Have you got a clue what goes wrong without the OpenSSL Applink? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 06 Jul '15 18:34 Post subject: |
|
|
The above script crashes httpd without the Applink shim, according Anatol. |
|
Back to top |
|
weltling
Joined: 25 Apr 2013 Posts: 6
|
Posted: Mon 06 Jul '15 21:41 Post subject: Re: PHP 7 test with OpenSSL_Applink |
|
|
Steffen,
thanks for the announcement. Yeah, now it turned out, that the SPKI functionality in PHP requires this shim to be in. The functionality is available since PHP 5.6 and coupled with Apache could result an unexpected process exit without the solution mentioned in the OpenSSL FAQ compiled in.
Jan, as you're doing your own builds, you probably see one or two SPKI related tests failing on CLI. They should not fail with the latest master thanks to the solution offered in the OpenSSL FAQ.
Besides the thing described, integrating the shim can be useful for better OpenSSL version compatibility. Still, in PHP it's master, and we might port it into 5.6 some when.
But by the times, I would encourage everyone to test the PHP7 builds regarding the Steffen's change. While doing zero harm, it makes OpenSSL usage with Apache under Windows much safer.
Thanks. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
|
|
|
|
|