PHP5添加MySQLi支持

# cd PHPSRC/ext/mysqli
# PHPBIN/phpize
# ./configure --with-php-config=/usr/local/php/bin/php-config --with-mysqli=/usr/local/mysql/bin/mysql_config
# make
# make install
编辑php.ini,加入extension=mysqli.so,重启apache,ok!

你可能感兴趣的:(PHP5添加MySQLi支持)