如何在Ubuntu 10.04和PHP 5.3.2中安装mysql PDO驱动程序

前端之家收集整理的这篇文章主要介绍了如何在Ubuntu 10.04和PHP 5.3.2中安装mysql PDO驱动程序前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我尝试使用此命令安装 mysql PDO驱动程序:
$sudo pecl install pdo_MysqL

但我收到以下错误

WARNING: "pecl/PDO_MysqL" is deprecated in favor of "channel://http://svn.PHP.net/viewvc/PHP/PHP-src/trunk/ext/pdo_MysqL//ext/pdo_MysqL"
WARNING: "pecl/PDO" is deprecated in favor of "channel://http://svn.PHP.net/viewvc/PHP/PHP-src/trunk/ext/pdo//ext/PDO"
downloading PDO_MysqL-1.0.2.tgz ...
Starting to download PDO_MysqL-1.0.2.tgz (14,778 bytes)
.....done: 14,778 bytes
downloading PDO-1.0.3.tgz ...
Starting to download PDO-1.0.3.tgz (52,613 bytes)
...done: 52,613 bytes
12 source files,building
running: PHPize
sh: PHPize: not found
ERROR: `PHPize' Failed
7 source files,building
running: PHPize
sh: PHPize: not found
ERROR: `PHPize' Failed

有人知道如何在Ubuntu 10.04中安装PDO驱动程序吗?

谢谢

至少在ubuntu 11.04以及kubuntu 11.04 MysqL中,MysqLi和pdo_MysqL都包含在PHP5-MysqL包中.

我认为这也是10.04的情况

原文链接:https://www.f2er.com/ubuntu/348822.html

猜你在找的Ubuntu相关文章