PHP 4.0 Bug #10165 Updated: install.txt doesn't mention copying DLLs to WINNT
| From: | jhurshman at rocketmail dot com | Date: | Wed, 04 Apr 2001 18:38:20 +0000 |
| Subject: | PHP 4.0 Bug #10165 Updated: install.txt doesn't mention copying DLLs to WINNT | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50876@lists.php.net to get a copy of this message | ||
ID: 10165
User Update by: jhurshman@rocketmail.com
Old-Status: Feedback
Status: Open
Bug Type: Documentation problem
Description: install.txt doesn't mention copying DLLs to WINNT
When I was having the problem, I could load certain extensions just fine (e.g., php_gd.dll and
php_db.dll). However, the database extensions would not load.
My interpretation is that the database DLLs depend on one or more of the DLLs that are provided in
the dll directory of the distribution. Perhaps there's another way to get Windows to find those
DLLs without putting them in the WINNT directory (setting the path, maybe?).
Previous Comments:
---------------------------------------------------------------------------
[2001-04-04 13:49:48] phildriscoll@php.net
It would be good to get to the bottom of this. If anyone out there understands what Windows does in
these circumstances, can they shed some light on proceedings.
I don't have any of the databases that need extensions, so the only extension I routinely use
is GD, however it is my experience on NT4 that I never have to stick any dll (php or otherwise) in
winnt or winnt/system32 unless it is going to be shared by some other application. I can always just
put them in the same directory as the program that calls them and all is well.
Is W2K different, or are the database extension dlls different.
We need to know, not only for the installation notes, but also for the installer software which
sticks things in c:/php by default.
---------------------------------------------------------------------------
[2001-04-04 13:27:35] jhurshman@rocketmail.com
I have PHP running as CGI on IIS5.0 (Windows 2000 Advanced Server). I followed exactly the
instructions in the install.txt document.
When I tried to load certain extensions (any database extensions, specifically), php.exe would hang,
with the complaint that "Warning : Unable to load dynamic library './php_mssql70.dll'
- The specified module could not be found."
In searching the bug reports here, I found the suggestion to copy the contents of the php/dll
directory to winntsystem32. That fixed the problem.
The "install.txt" document should mention this.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10165