ID: 9961
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: IIS related
Description: CGI Error
Ok i found the bug ==> php4ts.dll needs access to odbc32.dll and odbcint.dll ==> my
IUSR account had no permission for these dll. Now everything works.
Previous Comments:
---------------------------------------------------------------------------
[2001-03-24 13:02:38] [EMAIL PROTECTED]
My analyzing program had this OUTPUT:
Parameters: 1
ParamStr(1) = "e:netnighttest.php"
Current Directory: e:netnight
LoadLibrary('php4ts.dll'): ERROR: ERROR_ACCESS_DENIED
LoadLibrary('msvcrt.dll'): OK; C:WTSRVsystem32MSVCRT.dll
Script: OK
php.ini: OK
Path:
E:Perlbin;d:pvswNTBIN;d:btrexebat_;D:BTREXEBAT;D:BTREXETSE;D:btrexeuti;d:btrexenc;C:WTSRVsystem32;C:WTSRV;E:ProgrammeBorlandDelphi4Lib;E:ProgrammeBorlandDelphi4Bin;C:ProgrammeSymantecpcAnywhere;e:ProgrammeMts
as you can see the interpreter should be able to load the msvcrt.dll but why can't it
load php4ts.dll? both dlls are in my system directory (C:WTSRVsystem32) but why can a
interpreter only load one of the dlls? What userrights do i have to give to my
IUSR_<machinename> account?
---------------------------------------------------------------------------
[2001-03-24 10:48:36] [EMAIL PROTECTED]
Ok i just found out that the program has insufficient permission to php4ts.dll ==> i
wrote an analyzing program with witch i replaced the php.exe interpreter. I think
this tool could help many IIS users with this problem. If you want me to send it to
you, just tell me.
---------------------------------------------------------------------------
[2001-03-23 16:48:49] [EMAIL PROTECTED]
This error occurs when php doesn't output anything. In this instance, it is almost
always because IUSR_<machinename> doesn't have sufficient permissions to cause php.exe
to execute - often because of file permissions on php.exe, php.ini or php4ts.dll, or
any extensions you are trying to load, but sometimes because IUSR_<machinename>
doesn't have sufficient privileges to cause a program to execute.
Have a go with these issues, and if you still have no success, post your problem on
the php windows list and we will sort you out there.
---------------------------------------------------------------------------
[2001-03-23 15:34:17] [EMAIL PROTECTED]
I've got an IIS 4.0 on my WinNT Terminal Server. When I even call the simpliest script
my Browser gets following message:
<head><title>Error in CGI Application</title></head>
<body><h1>CGI Error</h1>The specified CGI application misbehaved by not returning a
complete set of HTTP headers. The headers it did return are:<p><p><pre></pre>
i've even once replace the php.exe whith a programm that prints out all the parameters
that IIS would pass to the interpreter - everything seems ok (somtimes IIS passes
wrong directory information). So i think the php.exe just imediatly shuts down -
without printing any text - after beeing called, but why?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9961
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]