Recently I decided to try out wordpress. I am running Ubuntu 9.04.

I installed apache 2, MySQL, and PHP 5. When I tried to run the installation: http://localhost/wordpress/wp-admin/install.php

It gave me this error message:

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

I have tested and verified that my apache server and mysql database server is running.

Is there any steps that I missed ?

Cheers,

link|improve this question

67% accept rate
feedback

closed as off topic by ChrisF, Ivo Flipse Apr 23 at 13:52

Questions on Super User are expected to generally relate to computer software or computer hardware, within the scope defined in the faq.

3 Answers

up vote 6 down vote accepted

Just run this:

sudo apt-get install php5-mysql

And then restart apache.

link|improve this answer
Might want to change that to sudo apt-get install php5-mysql. – Macha Oct 21 '09 at 18:44
Oh yeah thanks! :) – Tomas Markauskas Oct 21 '09 at 19:04
feedback

Thanks Tomas.

I summarize the steps that I took to install wordpress in my ubuntu Jaunty Jackalope. I hope everyone can benefit from this:Installing WordPress

link|improve this answer
feedback
  • Make sure you have copied php4ts.dll, php_curl.dll, php_mysql.dll in c://Windows/system32

  • And also copy libmysql.dll in C://Windows

link|improve this answer
feedback

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