Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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. –  SvW Apr 30 '10 at 10:50

Looks like this: http://forum.slicehost.com/comments.php?DiscussionID=2037

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

Your Answer

 
discard

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.