Here is the problem - I have an extension "Myextension" created using SWIG from C++ code. I put this in my c:\php5\ext directory and pointed php.ini to load extensions from that directory. This is fine.

However this extension depends upon some other custom DLLs I have coded in C++. The only way that the original extension loads is if these custom DLLs are in the C:\Windows\System32 folder. This is not an ideal solution for distribution however.

So I've tried changing my System Path to include a custom directory where these DLLs can be stored. That doesn't work. I've also tried copying all the DLLs to the c:\php5\ext directory. That doesn't work either. They HAVE to be in the System32 directory for PHP to know where to find these DLLs that the extension depends on. I just don't know how to change the location it looks in. Am I missing something in php.ini?

Any help appreciated, thanks...
John

    Write a Reply...