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. 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 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); } 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? :/ 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? ??? 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 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?.. 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. 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
Archived
This topic is now archived and is closed to further replies.