今天在装WordPress的时候报"您的 PHP 似乎没有安装运行 WordPress 所必需的 MySQL 扩展。"PHP+Apache2+Mysql5PHP已经安装了,要添加mysql的扩展首先cd的PHP的源文件目录 /usr/software/php-5.2.12/ext/mysql/ 输入:/usr/bin/phpize (我的PHP是默认安装路劲)如果是64为需要输入: export LDFLAGS=-L/usr/lib64/mysql然后在当前目录下编译命令:./configure --with-php-config=/usr/bin/php-config - Read More
posted @ 2012-09-08 12:37 为啥 Views(475) Comments(0) Diggs(0) Edit