ID: 13593 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: PWS related Operating System: Windows 98 / PWS PHP Version: 4.0CVS-2001-10-07 New Comment:
Could you try PHP 4.2.1 and see if the problem still persists? Previous Comments: ------------------------------------------------------------------------ [2002-03-20 15:01:33] [EMAIL PROTECTED] I have done extensive tests with exec() and system() using PHP 4.1.2 under Win 98 (and 2000) and experience problems as well. I attempted to start a console process from PHP and return with a success message. I have experiemented with several possible solutions purposed under the exec() command reference including putting a "start" in the DOS command and redirecting the output to NUL. I have also attemted to start a C program that itself started the command in a forked process. All result in the exec() command hanging until the console is manually stopped. ------------------------------------------------------------------------ [2002-01-08 21:42:24] [EMAIL PROTECTED] I have the exact same problem although I am running PHP 4.1.1 on WinME. I did not have this problem on PHP 4.0.6. ------------------------------------------------------------------------ [2001-10-07 22:34:24] [EMAIL PROTECTED] running any program from system() or exec() causes a console window to pop up brefly, the program runs and then the web server hangs. I am running the 4.0.8-dev build from www.php4win.de Oct 4 2001 23:30:20 in CGI mode with personal web server. To get the web server to work again afterwards, it seems I have to stop the PWS service, ctrl-alt-delete and kill all php processes, and then restart PWS. Sometimes that doesn't work and I have to reboot. There are no error messages printed anywhere, it just hangs. Any program. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=13593&edit=1