You copied the file, but you didn't configure it. The production files don't come with PDO enabled. You need these lines in there:
extension=pdo.so extension=pdo_mysql.so
(NOTE: Those lines are in there, but they are commented out by default. Depending on what has been done with the distribution, they most likely also try to load .dll files, which are for WIndows.)
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 6/1/2013 3:58 PM, Tim Johnson wrote:
- Jamie Holly hovercrafter@earthlink.net [130601 11:40]:
Try:
php --ini
That will list all loaded configuration files.
If nothing is showing up, then you need to figure out where PHP was configured to look for configuration files when it was compiled.
php -i | grep Configure
Look for:
--with-config-file-path --with-config-file-scan-dir
That will give you the direcories PHP is configure to look for the ini file in. If you can't find anything there, then you need to ask on the support list/forum for wherever you downloaded PHP from. This is one of those things that is very distribution dependent.
Thanks again. I have located /opt/local/etc/php5/php.ini-development and copied it to php.ini Now I have configuration file. I'm still not showing the drivers. FYI: This php was shipped with the OS, so I will try my macports ML and if no help there, I will get on a PHP forum.
Have you a recommendation?
In the meantime, running update.php from drupal itself does the job, it's just that I really like drush. cheers