Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install Wordpress in my Rails /public folder. I get the following error message:

'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.'

PHP Version 5.2.4-2ubuntu5 is running.

I assume I need to alter the php.ini file, but I don't know how, or with what.

Any help appreciated.

share|improve this question
up vote 0 down vote accepted

No, you need to install the mysql extension for PHP. Try sudo apt-get install php5-mysql to install it (or install php5-mysql from synaptic). The package manager will modify all files accordingly.

share|improve this answer
Thanks. The site is hosted on slicehost - so do I write that in the site management console? or via SSH from my local machine? – strangerpixel Apr 30 '10 at 10:37
I am not familiar with slicehost, so I can't really comment on that, but if you have SSH access, I would just try this. – Sven Apr 30 '10 at 10:50

Looks like this:

share|improve this answer
Thanks - the soft reboot with Slicehost is essential. – strangerpixel May 2 '10 at 11:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.