|
Posted by Andy Hassall on 06/03/07 22:54
On Sun, 03 Jun 2007 18:40:32 -0400, -Lost <maventheextrawords@techie.com>
wrote:
>I had the PHP Startup: Unable to load dynamic library
>'C:\php\ext\php_json.dll' - The specified module could not be found.
>
>I finally figured out the error. The problem is that the DLL relies on
>several other DLLs found in the C:\WINDOWS\system32\ folder.
>
>Now, the problem is this... I do not want to copy 20+ extensions to my
>system32 folder, nor do I want to copy 50+ DLLs from my system32 to my
>extension directory.
>
>Does anyone know of a method to get around this? Something along the
>lines of having it check both the extension directory and the system32
>folder for the associated DLLs?
Extension DLLs all have to be in the same place, but any DLLs that *they* need
can be loaded from anywhere listed in the PATH environment variable (as seen by
the webserver).
The system32 directory is always on PATH, but is not a good place to put your
own DLLs. Pick a directory and put the DLLs in there, and add it to PATH.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|