Home | Mirror | Search |
例 19.4. php openssl
source install
# yum install openssl-devel # cd /usr/local/src/php-5.2.17/ext/openssl # cp config0.m4 config.m4 # /srv/php-5.2.17/bin/phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 # ./configure --with-php-config=/srv/php-5.2.17/bin/php-config # make && make test && make install Thank you for helping to make PHP better. Installing shared extensions: /srv/php-5.2.17/lib/php/extensions/no-debug-non-zts-20060613/
php.ini
cat > /srv/php-5.2.17/etc/conf.d/openssl.ini <<EOF extension=openssl.so EOF