Unable to load dynamic library
Posted 27 February 2006 - 08:35 PM
But, I have an extension that I'm trying to use. That's not working. My PHP code says "Call to undefined function m_get()", where m_get is one of the functions in the extension.
Here's what happens when I do php -m from the command line:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:/php/ext\php503_mgw.dll' - The specified procedure could not be found.
in Unknown on line 0
As you can see from this, I added an "extension=php503_mgw.dll" to php.ini, changed the "extension_dir" in my php.ini to C:/php/ext, and I copied the dll to there (and also to C:/winnt/system32, for luck). I have tried all combinations of forward and backslashes, trailing slash in extension_dir, upper case, lower case, etc.
So, what am I missing here? I don't think the dll is bad, but would this be the error message I would get if it was?
Posted 11 April 2006 - 06:08 AM
Posted 11 April 2006 - 07:14 AM
Posted 20 December 2007 - 07:26 PM
I have "C:\Program Files\PHP;c:\Program Files\PHP\ext" in my environment Path
IN php.ini: include_path = "./PHP/" PHPIniDir = "C:/Program Files/PHP" extension_dir="C:\Program Files\PHP\ext"
I then tried running php -v in Dos and got this:
PHP Warning: PHP Startup: Unabled to load dynamic library 'c:\Program Files\PHP\ext\php_oci8.dll' The specified module could not be found.
This warning is repeated for:
Also this appeared:
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'php_ingres2.dll'
I got pop up warnings saying the following were missing:
Anyone any ideas?
Posted 27 December 2007 - 09:57 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users