I’m trying to use the informix pdo driver but I always get the following error:
“could not find driver”
I’m using the Microsoft IIS with PHPManager and PHP version 5.3.5. The php_pdo_informix.dll is located in the correct folder and enabled in the php.ini
Are there any ideas where the problem lies?
I don’t use PHP nor pdo drivers, but you can use Process Monitor by SysInternals/Microsoft to see if
php_pdo_informix.dllis loaded.Often Informix drivers do not load, because some environment variables are not set. Especially
INFORMIX_DIR,CLIENT_LOCALE,DB_LOCALE,SERVER_LOCALE,DBLANG. Do you have Informix Client installed? Are you able to set up and test ODBC connection?You can also add directory with
php_pdo_informix.dllto PATH.EDIT:
I downloaded
php_pdo_informix.dlland it seems that this file is broken. I tested it with my Python utility to check dll libraries: http://code.activestate.com/recipes/576522-searching-dll-and-exe-files-in-path/And MessageBox appeared (translation from Polish)
SHA1 sum of library I downloaded: