0
我在我的VPS上安装了OpenShift Origin,并且安装了最新的CentOS。OpenShift Origin PHP缺少MySQL扩展
现在我正在尝试部署一个wordpress实例来运行博客,并且我遵循博客文章来使用这些命令。
rhc app create wordpress php-5.4 mysql-5.5 --fromcode=https://github.com/openshift/wordpress-example
git add *
git commit -m init
并且上传过程完成没有任何错误。
Your application 'wordpress' is now available.
URL: http://******/
SSH to: ******@******
Git remote: ssh://******@******/~/git/wordpress.git/ Cloned to: /Users/amphineko/Temp/wordpress
后来,当我访问上面提供的URL(HTTP:// ** /),它告诉我有什么不对劲。
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
但我试图通过Web控制台相同的应用程序下添加一个phpMyAdmin的墨盒和访问它,它工作正常。
我的WordPress配置有什么问题,比如定义MySQL扩展的需求?