admin on January 9th, 2013

php_mysql安装方法:
1.# http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz
2. #tar -xzvf PDO_MYSQL-1.0.2.tgz
3. #/usr/local/php/bin/phpize
4. #./configure –with-php-config=/usr/local/php/bin/php-config –with-pdo-mysql=/usr/local/mysql/
4. #make
5. #make install
ok,至此pdo_mysql已安装成功
之后,修改php.ini
加入:
extension = /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so
[...]

继续阅读..