Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 had MySQL and PHP working good in the nginx server. For mailing purpose I installed sendmail.

Now all I get is Your PHP installation appears to be missing the MySQL extension which is required by WordPress. in my WordPress site here

Now no idea how to make it work again. I've restarted MySQL, nginx but nothing helped so far. Can someone enlighten me please.

share|improve this question
up vote 2 down vote accepted

I had to restart php5-fpm to get it work.

Also to fix the email problem, what I did was removed sendmail and stopped the process running at port 25 and installed postfix internet mail.

Everything started to work like charm afterwards.

share|improve this answer

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.