Setting up a Drupal installation on my laptop to make it easier to develop themes offline i encountered the following error:
PHP MySQL support not enabled.
We were unable to use the MySQL database because the MySQL extension for PHP is not installed. Check your PHP.ini to see how you can enable it. For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
it took some time to get an answer but it was a very simple solution, after studying the c:\php.ini file i found the extension_dir directive was not set for the standard installation.
changing it to "C:\php\ext" which fixed the problem. It seems a little strange that it's not preconfigred for the standard installation.
PS my installation was on:
Apache 2.0.58
PHP5
drupal 4.73.

Post new comment