PDO on Win2000Server
| From: | Steve | Date: | Tue, 18 Apr 2006 04:30:17 +0000 |
| Subject: | PDO on Win2000Server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-234155@lists.php.net to get a copy of this message | ||
Hi
I'm having trouble getting PDO to work on Windows 2000 Server with PHP
5.1.2.
I've enabled the extensions in php.ini, which was all I thought I had
to do. Is there anything else? I thought PDO would show up in phpinfo(), but it doesn't.
In my code, when I call:
new PDO(...);
I get an error:
Fatal error: Class 'PDO' not found in C:\...\pdo_query.php on line 15
This is whats recorded in my errors log:
[15-Apr-2006 10:38:15] PHP Warning: PHP Startup: Unable to load
dynamic library 'C:\php\ext\php_pdo.dll' - %1 is not a valid Win32
application. in Unknown on line 0
[15-Apr-2006 10:38:15] PHP Warning: PHP Startup: Unable to load
dynamic library 'C:\php\ext\php_pdo_firebird.dll' - The specified
module could not be found. in Unknown on line 0
Do you have any suggestions that could help me out?
Thanks
S.