note 110025 deleted from pdo.installation by googleguy
| From: | googleguy@php.net | Date: | Wed, 12 Sep 2012 22:01:17 +0000 |
| Subject: | note 110025 deleted from pdo.installation by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-190676@lists.php.net to get a copy of this message | ||
Note Submitter: grokmike at gmail dot com
----
After trying to get the MySQL PDO driver installed on my Windows machine and searching quite a bit
of info, it was a combination of 3 things
- First, I had to uncomment the extension_dir line in php.ini to read: extension_dir =
"ext"
- Second, I had to uncomment the pdo mysql extension line in php.ini to read:
extension=php_pdo_mysql.dll
- Last I had to add my PHP install folder (C:\WebServices\PHP in my case) to the PATH Environment
variable in Windows.
After doing those things I rebooted the machine, but restarting apache may have been enough.
Worked after that. Hope that helps someone down the line.
This was tested on both Vista and Win7x64
Mike