Home >Backend Development >PHP Tutorial > Linux上如何让PDO支持mysql

Linux上如何让PDO支持mysql

WBOY
WBOYOriginal
2016-06-13 13:15:25852browse

Linux下怎么让PDO支持mysql?
我是编译安装的PHP Version 5.2.6,网上说linux里PDO扩展需要手动添加,是吗?
这是现在phpinfo()里PDO现在的情况
PDO support enabled
PDO drivers sqlite2, sqlite

mysql的扩展究竟怎么安装,望高手详细指点一二

------解决方案--------------------
http://www.google.com.hk/#hl=zh-CN&newwindow=1&safe=strict&site=&source=hp&q=linux+php+pdo&oq=linux+php+pdo&gs_l=hp.3...3240.5675.0.6000.9.8.0.0.0.0.0.0..0.0...0.0..0.1c.vA1txbJUisQ&bav=on.2,or.r_gc.r_pw.&fp=8738193fa7335ff6&biw=1366&bih=664
------解决方案--------------------
这是我在ubuntu 下php扩展mysql参考的资料:http://koda.iteye.com/blog/414381

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn