Invalid library (maybe not a PHP library) : Error while loading

Invalid library (maybe not a PHP library) : Error while loading

am 01.09.2009 04:48:04 von Sanjeev Kumar

--001636b2ac6afde81204727b2dae
Content-Type: text/plain; charset=ISO-8859-1

Hello,

On Loading my PDO-interface based extension, PHP gives the error:

"PHP: Startup: Invalid library (maybe not a PHP library) 'php_pdo_xyz.dll in
unknow on line 0 "

I wrote a PDO-based driver, modelling the code on lines of SQLite driver.
Compiled my driver as dll with VC9.0, added the extension to php.ini. on
running PHP,
I get the above error while loading extension.

To crossCheck my dll: I used DependencyWalker tool to see if I have missed
some Dll,
I find that tools seems to find my Dll fine.
The output list of Dll pdependancies of my driver-Dll looks exactly like
that of php_pdo_sqlite.dll

Please let me know, where could be the potential problem.

thanks,
-sanjeev kumar

--001636b2ac6afde81204727b2dae--

Re: Invalid library (maybe not a PHP library) : Error while loading pdo-ext.

am 01.09.2009 05:04:04 von Niel Archer

Hi

you would do better to raise these issues on the internals lists, either
internals@lists.php.net or internals-win@lists.php.net

--
Niel Archer
niel.archer (at) blueyonder.co.uk



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php