curl.so
gd.so
mysqli.so
opcache.so
pdo_mysql.so
zlib.so
ftp.so
mysql
sockets.so
zip.so
/usr/local/php_nts/bin/phpize
/usr/local/apache_prefork/bin/apachectl stop
/usr/local/apache_prefork/bin/apachectl start
编译curl扩展
./configure --with-php-config=/usr/local/php_nts/bin/php-config
编译gd库
./configure --with-php-config=/usr/local/php/bin/php-config
编译mysql库
./configure --with-php-config=/usr/local/php_nts/bin/php-config --with-mysql=/usr/local/mysql
编译mysqli库
./configure
-with-php-config=/usr/local/php_nts/bin/php-config --with-mysqli=/usr/local/mysql/bin/mysql_config (妹的死活通不过。待会拿别的linux编译试
试)
编译 pdo_mysql.so
./configure --with-php-config=/usr/local/php_nts/bin/php-config --with-pdo-mysql=/usr/local/mysql/
编译zlib.so
./configure --with-php-config=/usr/local/php_nts/bin/php-config
编译Ftp.so
./configure --with-php-config=/usr/local/php_nts/bin/php-config
编译sockets.so
./configure --with-php-config=/usr/local/php_nts/bin/php-config
编译zip.so
./configure --with-php-config=/usr/local/php_nts/bin/php-config