某台机器发现没有mysql驱动,进入源码目录安装
编辑php.ini,加载mysql.so
cd php-5.3.3
cd ext/
cd mysql
/opt/modules/php5.3/bin/phpize
./configure --with-php-config=/opt/modules/php5.3/bin/php-config --with-mysql=/opt/modules/mysql/
make
make install
cd /opt/modules/php5.3/lib/php/extensions/no-debug-non-zts-20090626/
ll
编辑php.ini,加载mysql.so