这两天在练习使用VPS,免费试用的,在网上找了好久啊。安装的是CentOS 5.5 (x86_64),控制面板用了kloxo,安装绑定域名,使用FTP都正常,想安装个wordpress试试,结果出现“您的 PHP 似乎没有安装运行 WordPress 必须的 MySQL 扩展。”这个错误提示,但rpm -qa | grep php却显示基本上很多php扩展都已经安装的了。检查一下/etc/php.ini文件,发现extension_dir=/usr/lib/php/modules,而那个目录是不存在的。由于系统是64位,库应该是在/usr/lib64/,于是,建一个同步链接就行了。
登录putty运行下面的命令:
ln -s /usr/lib64/php/ /usr/lib (ln命令建立同步链接)
service httpd restart (重启httpd服务)
就可以正常安装Wordpress了。
Barbi
Way to go on this essay, hepled a ton.
Satchel
I acuatlly found this more entertaining than James Joyce.
Flossy
Keep these artceils coming as they’ve opened many new doors for me.
Satchell
Haellljuah! I needed thisyou’re my savior.