Title: PHP installation missing MySql.
Last modified: August 18, 2016

---

# PHP installation missing MySql.

 *  Resolved [violettak](https://wordpress.org/support/users/violettak/)
 * (@violettak)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/)
 * When I’m trying to run the install script, I get this —
 * “Your PHP installation appears to be missing the MySQL which is required for 
   WordPress.”
 * Does this have to do with entering the incorrect information for my database 
   or something that my hosting company needs to do?

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

 *  [petit](https://wordpress.org/support/users/petit/)
 * (@petit)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-303519)
 * By the error message it woudl seem that you don’t have any MySQL accessibel, 
   but the message could be too insensitive.
 * Some questions:
    Have you created a MySQL database for your WP blog? It might
   be nescessary, Your Service Provider will know.
 * Have you given the correct database name, user and password in the wp-admin/wp-
   config.php ( renaming it from wp-config-sample.php )?
 * Is this about WordPress 2.0?
    The famous 5-Minute Istall at [http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install](http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install)
   should work.
 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-303531)
 * For WP to work, you need you need the MySQL extentions to PHP installed. If you
   are on a Linux (RPM based) machine, then you specifically need the ‘php’ and ‘
   php-mysql’ packages.
 * If you are trying this on a hosted site, then contact your provider about ensuring
   that they have the extentions installed.
 * This has nothing to do with your database name, access, password, and so on. 
   You’re not there yet. 🙂
 * Regards
 *  Thread Starter [violettak](https://wordpress.org/support/users/violettak/)
 * (@violettak)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-303561)
 * Thanks! I have a ticket open with my hosting company, so hopefully it will get
   fixed soon. 🙂
 *  [petit](https://wordpress.org/support/users/petit/)
 * (@petit)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-303574)
 * Cypher: Thanx for getting closer to the origin 😉
 *  [xadrian_calim](https://wordpress.org/support/users/xadrian_calim/)
 * (@xadrian_calim)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-304193)
 * What if you’re running your own Win2003/IIS server? I ran through all the preinstallation.
 * Another (off topic question,) not knowing a lot of MySQL, when I’m at the prompt(
   mysql>) and I enter all the create database commands, shouldn’t I get something
   saying it’s done? It either goes back to prompt or gives me a syntax message.
 * (noob)
 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-304194)
 * If you’re on Windows, you’d want to make sure that mysql support is enabled in
   PHP. You can get that information from writing a simple file that called “phpinfo();”
   and make sure that you see: “MySQL Support enabled”.
 * In MySQL itself, some functions work without any output, all errors are reported
   and certain commands, like UPDATE, INSERT, and so on will output how many rows
   were affected by your command.
 * Regards
 *  [xadrian_calim](https://wordpress.org/support/users/xadrian_calim/)
 * (@xadrian_calim)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-304195)
 * Hmm, I’ve got that line uncommented, saved in C:\PHP and C:\Windows\system32 
   but I can’t find that bit enabled on the page.
 * I’ll keep working on it.
 *  [peibul](https://wordpress.org/support/users/peibul/)
 * (@peibul)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-304304)
 * I have the same problem (i.e. “Your PHP installation appears to be missing…”).
 * I’ve already installed MySql 5.0 + MySql Administrator, but the webpage generated
   with phpinfo() doesn’t show any message saying “MySQL Support enabled”, though
   it includes, in its path variable, the location of the bin’s for MySql (i.e. “
   C:\Program Files\MySQL\MySQL Server 5.0\bin”)
 * I’ve already created a database for WP, and placed its name in wp-config.php.
 * MySQL extentions to PHP installed? Where do I get these?
 * I have a Windows machine running as a server for Intranet purposes – hence, no
   host provider 🙁
 *  [danewyorker](https://wordpress.org/support/users/danewyorker/)
 * (@danewyorker)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-304306)
 * Spent some time on this problem and here is how I solved it.
 * 1. I used the PHP installer which does not contain all of the dlls and I was 
   getting the error discussed.
 * 2. I downloaded the windows zip file -> PHP 5.1.1 zip package ( [http://us2.php.net/downloads.php](http://us2.php.net/downloads.php))
 * 3. I copied the /ext folder from the zip file into my c:\php folder (now those
   files are in c:\php\ext)
 * 4. I copied all the DLLs from the root of the Zip file to my c:\php folder. The
   ext files have some dependencies on these files so I copied them all to be safe.
 * 5. I changed the value in c:\windows\php.ini (this may be in a different location
   on your machine) for extensions to say -> extension_dir = “c:\php\ext\”
 * 6. I removed the commments from the extensions section so the MySQL settings 
   showed as:
 * extension=php_mysql.dll
    extension=php_mysqli.dll
 * The mysqli.dll is supposed to be used for MySQL 5.0+ i believe… so i made sure
   both were in there. I believe the original ini file didn’t have php_mysqli.dll
   listed and I had to add it myself.
 * After these steps it worked for me. I did have to add index.php to my default
   documents list for IIS (and i assume you would do the same in apache). I also
   had some database creation errors related to default values not being set by 
   scripts but for the most part WordPress is up and running.
 *  [peibul](https://wordpress.org/support/users/peibul/)
 * (@peibul)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-304307)
 * DaNewYorker: Thank you so much! I never noticed the line “extension=php_mysqli.
   dll” wasn’t even there!
 * Cheers mate!
 *  [xadrian_calim](https://wordpress.org/support/users/xadrian_calim/)
 * (@xadrian_calim)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-304323)
 * I’ll be going through these steps as well DNY, thanks.
 *  Thread Starter [violettak](https://wordpress.org/support/users/violettak/)
 * (@violettak)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-304331)
 * I changed my hosting company from godaddy and it works smoothly now! 🙂

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

The topic ‘PHP installation missing MySql.’ is closed to new replies.

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 12 replies
 * 6 participants
 * Last reply from: [violettak](https://wordpress.org/support/users/violettak/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/php-installation-missing-mysql/#post-304331)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
