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
重启php,大功告成!
访问phpinfo将会看到: pdo_mysql这项



发表评论

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CAPTCHA image