The steps are as follows:
1. Go to the corresponding extension directory
# Cd/usr/local/src/php-5.2.12/ext/curl
2. Call the Phpize program to generate the compilation configuration file
#/usr/local/php5/bin/phpize
3. Call configure to generate the makefile file, then call make compile, make install
#./configure-with-curl=/usr/local/curl-with-php-config=/usr/local/php5/bin/php-config# make# Make Install
4. Modify the PHP configuration file
; Modify the extension library directory Extension_dir = "/usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/"; add curl extension Extension = Curl.so
5. Restart Apache.
http://www.bkjia.com/PHPjc/324080.html www.bkjia.com true http://www.bkjia.com/PHPjc/324080.html techarticle the steps are as follows: 1. Go to the corresponding extension directory # Cd/usr/local/src/php-5.2.12/ext/curl 2. Call Phpize program to generate the compilation profile #/usr/local/php5/bin/phpize 3. Call con Figure generation ...