void Posted October 14, 2008 Share Posted October 14, 2008 Good day I have a php file which executes shell script with shell_exec() command, that runs for about 15 minutes. The problem is, browser keeps "loading" the php file, but after like a minute or two, it stops and says "Done.", even though the shell script continues is job. Everything would be great, except i need php script to do some work after the shell script is done. set_time_limit is set to zero. any thoughts? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/128380-browser-releases-running-php-script/ Share on other sites More sharing options...
kenrbnsn Posted October 14, 2008 Share Posted October 14, 2008 Code? Ken Quote Link to comment https://forums.phpfreaks.com/topic/128380-browser-releases-running-php-script/#findComment-665108 Share on other sites More sharing options...
void Posted October 14, 2008 Author Share Posted October 14, 2008 Well nothing special really. <?php set_time_limit(0); $out = shell_exec("./program.out"); echo nl2br($out); } Quote Link to comment https://forums.phpfreaks.com/topic/128380-browser-releases-running-php-script/#findComment-665123 Share on other sites More sharing options...
void Posted October 18, 2008 Author Share Posted October 18, 2008 anyone? :/ Quote Link to comment https://forums.phpfreaks.com/topic/128380-browser-releases-running-php-script/#findComment-668588 Share on other sites More sharing options...
void Posted October 30, 2008 Author Share Posted October 30, 2008 guys? ??? Quote Link to comment https://forums.phpfreaks.com/topic/128380-browser-releases-running-php-script/#findComment-678394 Share on other sites More sharing options...
nitation Posted October 30, 2008 Share Posted October 30, 2008 code code code Quote Link to comment https://forums.phpfreaks.com/topic/128380-browser-releases-running-php-script/#findComment-678397 Share on other sites More sharing options...
void Posted October 30, 2008 Author Share Posted October 30, 2008 code code code what code?.. Quote Link to comment https://forums.phpfreaks.com/topic/128380-browser-releases-running-php-script/#findComment-678872 Share on other sites More sharing options...
trq Posted October 30, 2008 Share Posted October 30, 2008 This is likely a browser issue, not much php can do. Most browsers will timeout if they do not recieve a response within a certain time I'm sure. Quote Link to comment https://forums.phpfreaks.com/topic/128380-browser-releases-running-php-script/#findComment-678882 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.