ID: 22458 User updated by: jlondon at mail dot mcg dot edu Reported By: jlondon at mail dot mcg dot edu Status: Open Bug Type: IIS related Operating System: Windows NT Server 4.0 PHP Version: 4.3.0 New Comment:
Ok...looks like it works now. I copied php4ts.dll to my system 32 directory and...duh...it works now. Who knows why I didnt' copy it there when I did an install but it works now and that's all that matters. Thanks for all your help. Previous Comments: ------------------------------------------------------------------------ [2003-02-27 14:35:50] jlondon at mail dot mcg dot edu The error-output.txt file was empty. I thought maybe it was empty from a previous attempt so I deleted it and tried again and it came back empty again. What does a return code of 128 mean? ------------------------------------------------------------------------ [2003-02-27 12:13:37] [EMAIL PROTECTED] Consult C:/temp/error-output.txt to see what went wrong with the child process. The reason that the CGI did not work is that the CGI does not accept a script from stdin any longer. (Whether this is intentional or not is still being discussed). You should use the CGI version of PHP for handling CGI requests from the web server, but use the CLI when running scripts from the command line, or from your code, or whenever it is not running in a correctly prepared CGI environment. I'd appreciate seeing that error-output.txt file so we can get a better idea of the problem. ------------------------------------------------------------------------ [2003-02-27 11:31:57] jlondon at mail dot mcg dot edu Ok...that sort of worked. No more hangs and no more spawned processes, but nothing is output to the screen. The only thing I get is "command returned 128" but no hello world. Also what is the difference between php.exe at the root of the dir and php.exe in the cli dir? Why would one work and the other not? Should I be using the one in the cli dir as my script processor? Thanks a lot for you help. ------------------------------------------------------------------------ [2003-02-27 10:34:54] [EMAIL PROTECTED] Please try using the following for the command string: "C:\\php\\cli\\php.exe" ------------------------------------------------------------------------ [2003-02-27 10:30:32] jlondon at mail dot mcg dot edu No change...still runs like mad and crashes IIS. I can't even do a "net stop". I'm running the CGI version if that makes any difference. Also I have to refer to php as c:/php/php otherwise error-output.txt has the message "he name specified is not recognized as an internal or external command, operable program or batch file." ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22458 -- Edit this bug report at http://bugs.php.net/?id=22458&edit=1