Home | Mirror | SearchITEYE 博客 | OSChina 博客 | 51CTO 博客

7.6. openssl

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

comments powered by Disqus