PHP script continues after closing / stopping page
Seems php scripts continue even after closing or stopping a page. for example, if my script is run by /localhost/test.php after I close the page, sometimes it continues to run. I'm pretty sure restarting apache clears it out but is there a better way to terminate the php script after it's started. You could use ignore_user_abort but I think it only applies if you are running PHP as a command line script . When running scripts from browser , in my experience I have realized scripts running even after the browser was closed . I did not go further to check how long they used to run . The scripts