logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: PHP 7 test with OpenSSL_Applink
Author
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Mon 06 Jul '15 13:52    Post subject: PHP 7 test with OpenSSL_Applink Reply with quote

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: 1248
Location: Amsterdam, NL, EU

PostPosted: Mon 06 Jul '15 18:23    Post subject: Reply with quote

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: 3049
Location: Hilversum, NL, EU

PostPosted: Mon 06 Jul '15 18:34    Post subject: Reply with quote

The above script crashes httpd without the Applink shim, according Anatol.
Back to top
weltling



Joined: 25 Apr 2013
Posts: 6

PostPosted: Mon 06 Jul '15 21:41    Post subject: Re: PHP 7 test with OpenSSL_Applink Reply with quote

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: 1248
Location: Amsterdam, NL, EU

PostPosted: Sat 11 Jul '15 18:52    Post subject: Reply with quote

I ran into a missing Applink sooner than expected. I was trying to compile Openssl 1.0.2d FIPS and got this during the building process:

Code:
out32dll\fips_premain_dso.exe out32dll\libeay32.dll
OPENSSL_Uplink(00CBB000,08): no OPENSSL_Applink

http://thread.gmane.org/gmane.comp.encryption.openssl.devel/29763/focus=29821
Back to top


Reply to topic   Topic: PHP 7 test with OpenSSL_Applink View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads