Title: PHP.. Missing the MySQL&#8230; Error Sometimes
Last modified: August 18, 2016

---

# PHP.. Missing the MySQL… Error Sometimes

 *  [scott_debney](https://wordpress.org/support/users/scott_debney/)
 * (@scott_debney)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/php-missing-the-mysql-error-sometimes/)
 * Hello,
 * I’ve been getting this error periodically while using the new WordPress blog.
   Most of the time the page will load fine and work fine but sometimes I get this
   error:
 * “Your PHP installation appears to be missing the MySQL which is required for 
   WordPress.”
 * If I refresh the page most of the time the error will go away. Help. I’ve searched
   the support forums and tried some of the solutions without any luck. Any ideas?
   Thanks.
 * Scott

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [bethfreeman](https://wordpress.org/support/users/bethfreeman/)
 * (@bethfreeman)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/php-missing-the-mysql-error-sometimes/#post-375206)
 * I got this same error when I tried to install WordPress today. I know MySQL is
   working because I can access it on the command line as well as using MySQL Administrator.
   But I havne’t been able to get this error to go away.
 * I’m running MySQL 5.0.2, Apach 2.055 and PHP 5.1.2.
 * Thanks.
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/php-missing-the-mysql-error-sometimes/#post-375212)
 * From other forums I have heard the PHP version 5.1.2 is having this problem with
   a lot of software that runs php/mysql. You might want to try the forums at php.
   net.
 *  [bethfreeman](https://wordpress.org/support/users/bethfreeman/)
 * (@bethfreeman)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/php-missing-the-mysql-error-sometimes/#post-375225)
 * Well, is there anywhere on WordPress.org where it suggests which versions of 
   MySQL and PHP one should use? I didn’t see this anywhere in the installation 
   documentation, and it seems like it’s important if the software doesn’t work 
   with certain versions.
 * Thanks.
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/php-missing-the-mysql-error-sometimes/#post-375228)
 * Well since php 5.1.2 just recently came out…
 *  [bethfreeman](https://wordpress.org/support/users/bethfreeman/)
 * (@bethfreeman)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/php-missing-the-mysql-error-sometimes/#post-375232)
 * I got it – I just had to set the extension dir in php.ini to
    “extension_dir 
   = “C:/PHP/ext/” instead of extension_dir = “./ext/”
 * It didn’t like the relative path.
 *  Thread Starter [scott_debney](https://wordpress.org/support/users/scott_debney/)
 * (@scott_debney)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/php-missing-the-mysql-error-sometimes/#post-375547)
 * Beth, I’ll give that a try.
 * Muchos Gracias!
 * Scott

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PHP.. Missing the MySQL… Error Sometimes’ is closed to new replies.

## Tags

 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [Periodically](https://wordpress.org/support/topic-tag/periodically/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [Sometimes](https://wordpress.org/support/topic-tag/sometimes/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [scott_debney](https://wordpress.org/support/users/scott_debney/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/php-missing-the-mysql-error-sometimes/#post-375547)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
