First to enter the php source directory ext find openssl source file
Then / usr / local / php / bin / phpize processing
Next ./configure
the make
the make the install
after the completion of the translation system displays a path
/usr/local/php/lib/php/extensions/no-debug-zts-20131226/openssl.so similar success of such compilation ~
How to make php load?
First, we write a file phpinfo look at the file system path to load the ini
Configuration File (php.ini) Path /usr/local/php/lib
If this line is blank value not explained in the above path in php.ini
Loaded Configuration File /usr/local/php/lib/php.ini
If we do not we go inside to find copy source php php-devloapment.ini to the top of the lib directory
Then vim php.ini to extend added to the list!
echo ‘extension = /usr/local/php/lib/php/extensions/no-debug-zts-20131226/openssl.so’ >>/usr/local/php/lib/php.ini
Restart apache ~
OK~~~~~~~~
cd /usr/src/php-5.3.6/ext/mbstring
/usr/local/php/bin/phpize
./configure –with-php-config=/usr/local/php/bin/php-config
make && make install
echo ‘extension=mbstring.so’ >>/usr/local/php/lib/php.ini