|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-07-23 00:58 UTC] wez@php.net
[2003-07-23 02:28 UTC] edink@php.net
[2003-07-23 09:52 UTC] jkramer at controlvision dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Feb 19 16:00:02 2026 UTC |
Description: ------------ In a PHP script running under IIS 5.1, with Windows XP (this has been reproduced on Windows 2000 as well), I try to execute another PHP process and get as many php sessions as can open up till my machine starts to halt because it goes out of memory. Note, I have made sure it hits that line of code only once, by doing "cmd /c Start C:\php\php.exe -f phpfile.php" and doing an echo "before"; and echo "after"; before and after the line of code, before and after get echoed ONCE. This command works correctly via the commandline. Reproduce code: --------------- <?PHP exec('c:\php\php.exe -f C:\inetpub\wwwroot\anotherphpfile.php'); ?> Expected result: ---------------- The application to run once.. not 50-100 or more times.. Actual result: -------------- PHP executes numerous times, for one line of code..