Problems with PHP4b3
| From: | Albert Brown | Date: | Fri, 31 Dec 1999 06:13:12 +0000 |
| Subject: | Problems with PHP4b3 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8742@lists.php.net to get a copy of this message | ||
Hi,
Please respond directly; I am not on this list.
I am getting the following error when I try to load php_mysql.dll. I am not
trying to load php3 extensions/modules, but only put them in php3 as the
distro was so scant. (BTW, the application as a whole works on PHP3 @ NT,
PHP3/4 on Unix).
Output -- D:/php3 //
Fatal error: Unable to load dynamic library 'D:/php3/php_mysql.dll'
The specified procedure could not be found. in login.php on line 11
I'm using PHP4 (Windows NT 4.0 build 1381) / IIS4 / NT 4/SP5. libmysql.dll,
php4ts.dll, php4isapi.dll, msvcrt.dll are in C:\WinNT\System32. The web
server has permission to read all of those files, and D:. I've tried
setting extension_dir to "", '', blank, absolute addressing the dll,
changing locations of it, trying it just as php_mysql.dll, php_mysql with &
w/o having extension_dir set. php4.exe is in D:\php3. (I renamed php.exe
php4.exe so it would not conflict with php3 -- I've also tried it as php.exe
in C:\WinNT\)
The script is:
$CF_NTOS = 1;
$ext_dir = get_cfg_var("extension_dir");
$sm = get_cfg_var("safe_mode");
print "Output -- $ext_dir // $sm";
if (IsSet($CF_NTOS) && $CF_NTOS) { dl("php_mysql.dll"); }
I've also noticed on PHP4 ISAPI, that if I restart the server (general NT
fix-all), then go to a test page that includes a 1 file of about 35k of php
functions -- doesn't execute anything just defines functions, and then
request that same file a few times (waiting for it to complete the request,
and giving it time between), will fail after about 3-4 times, and then fail
everytime after that. It fails by timing out the connection. One downside
of this, is that I can't edit the file I was including after loading the
page. Sharing violation. I can provide test scripts / platforms if need be.
Thanks in advance,
-Al
Albert Brown http://www.guiworks.com/
abrown@guiworks.com http://www.egrail.com/
GUI Works, LLC 301 656 2705 x12 V
4711 Montgomery Lane 301 656 3745 F
Bethesda, MD 20814 303 949 8124 C