OpenSSL and Phar
| From: | Steph Fox | Date: | Sun, 22 Jun 2008 20:32:30 +0000 |
| Subject: | OpenSSL and Phar | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-38517@lists.php.net to get a copy of this message | ||
Hi Greg, all,
It seems we don't use the openssl extension API at all in ext/phar, just the actual OpenSSL headers and libs. That means Phar with OpenSSL support can be both built and run without ext/openssl being built at all, but requires third-party libs (under Windows at least - ssleay32.dll and libeay32.dll) in the same way that ext/openssl does.
I'm wondering if we shouldn't have a separate configuration option for this - something like --enable-phar-ssl - rather than testing for --with-openssl in the config line.
The chief advantage of this approach is that it doesn't matter whether phar-ssl is built as shared or not, since the dependency is outside PHP.
Thoughts?
- Steph