A small blog.

Running PHP scripts in the background in Windows

So trying to run a background PHP script so you can fire off multiple concurrent scripts? A great example is letting an admin user fire off a db processing script that would need to run for a long time.  While doing the same in a linux environment is sort of a breeze using the php exec function (don't forget to redirect the output somewhere),  I discovered that in Windows, the same code didn't work,  php consistently kept waiting for the script to finish, thereby essentially locking up the sessioned user.  After searching high and low and coming across various ...
Read More ...
Tags:   background  windows  scripts  linux  exec  php