Page 1 of 1

PHP.EXE ZUMBIES

Posted: Mon Jul 14, 2008 2:14 pm
by jccf
Hi!

I developed an app that uses the function popen() to call a batch file. This batch file calls the php.exe to execute another php code.

I'm using this technique to reproduce the fork function on Windows.

I'm having a problem executing this code many times! Some php.exe executed are not finishing after the end of the php script, and is staying in the memory. Like a Zumbi program!

Any advice?