Longtime reader, first poster. I've just run into an annoying problem. I can't get OpenSSL support in PHP.
This is how I'm configuring and building PHP:
# ./configure --prefix=/usr --enable-sockets --with-mysql=/usr/local/mysql --with-zlib-dir=../zlib-1.2.3 --with-apxs=/usr/local/apache/bin/apxs --with-mcrypt=../libmcrypt-2.5.8 --enable-mbstring --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/lib/libjpeg.so --enable-exif --enable-soap=shared --with-mhash=../mhash-0.9.9.9 --with-openssl --with-openssl-dir=../openssl-0.9.8k
# make install
PHP configures and installs correctly. OpenSSL 0.9.8k was configured and compiled with shared libraries. I am flabbergasted. There is even the ext/openssl directory in the PHP installation directory:
# find / -name "openssl" | grep php
What have I done wrong?
# php -r "phpinfo();" | grep ssl
OpenSSL support => disabled (install ext/openssl)
# php -r "phpinfo();" | grep php.ini
Configuration File (php.ini) Path => /usr/lib
Loaded Configuration File => /usr/lib/php.ini