Thread:Project:Support desk/Having an issue with database driver not installed./reply (3)

Ah ha. I figured it out. The mysqlnd section is not the same as the mysql plugin. So here's what I had to do:

In php.ini

extension_dir = "c:\php\ext" extension=php_mysql.dll

The PHP manual was just flat out wrong where it said:

"The extensions mysql, mysqli, and PHP_PDO_MYSQL are all enabled by default in PHP 5.3.0+, and all use the MySQL Native Driver by default. In each case no further installation steps are required in order to use these extensions, although you may want to set some preferences in php.ini depending on your requirements."

This simply wasn't true for the zipfile php download. I guessed this and tried to enable the modules in the ini file, but the extensions dir is not set in the supplied php.ini-production file either so it wasn't until I checked the apache error log that I discovered it wasn't loading the modules even after I disbelieved the php manual

I *HATE* php. Every time I touch it I have a problem with it. I was using the zip file because the MSI installer version caused apache to die and windows to offer to send a report to microsoft... I didn't really want to do work today anyway.