Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

5.6. openssl

例 5.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