-
-
Notifications
You must be signed in to change notification settings - Fork 582
Closed
Description
Currently only php-cgi.exe is bundled with phpdesktop binaries, in the php/
directory. People may run into issues when they try to run php scripts from
command line using php-cgi.exe, as this is a CGI interface for interacting with
web servers and it works differently. You are not supposed to run php scripts
from command line using php-cgi.exe.
If you try to run some php scripts in the background using this code:
$backgroundexec = PHP_BINARY . " " . getcwd() . "\background.php " . $argument;
echo $backgroundexec;
shell_exec($backgroundexec);
It will cause creation of infinite number of cmd.exe and php-cgi.exe processes.
Original issue reported on code.google.com by [email protected]
on 16 Mar 2014 at 2:41
Metadata
Metadata
Assignees
Labels
No labels