ID: 9961 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: IIS related Description: CGI Error My analyzing program had this OUTPUT: Parameters: 1 ParamStr(1) = "e:\netnight\test.php" Current Directory: e:\netnight LoadLibrary('php4ts.dll'): ERROR: ERROR_ACCESS_DENIED LoadLibrary('msvcrt.dll'): OK; C:\WTSRV\system32\MSVCRT.dll Script: OK php.ini: OK Path: E:\Perl\bin\;d:\pvswNT\BIN;d:\btr\exe\bat_;D:\BTR\EXE\BAT;D:\BTR\EXE\TSE;D:\btr\exe\uti;d:\btr\exe\nc;C:\WTSRV\system32;C:\WTSRV;E:\Programme\Borland\Delphi4\Lib;E:\Programme\Borland\Delphi4\Bin;C:\Programme\Symantec\pcAnywhere\;e:\Programme\Mts 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:\WTSRV\system32\) but why can a interpreter only load one of the dlls? What userrights do i have to give to my IUSR_<machinename> account? Previous Comments: --------------------------------------------------------------------------- [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]