I tried to search for a solution to this, but I couldn't find one.
Maybe I didn't look in the right place, but whatever....
Here is the problem - I have an extension "Myextensio n" 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\Syst em32 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. PHP has to know
where to find these DLLs that the extension depends on. I just don't
know how to give it that information. Am I missing something in
php.ini?
Any help appreciated, thanks...
John
Maybe I didn't look in the right place, but whatever....
Here is the problem - I have an extension "Myextensio n" 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\Syst em32 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. PHP has to know
where to find these DLLs that the extension depends on. I just don't
know how to give it that information. Am I missing something in
php.ini?
Any help appreciated, thanks...
John
Comment