PHP Apache XAMPP Run Multiple Scripts from CLI in Background
- by Pamela
How can I simultaneously run dozens of PHP scripts in the background from XAMPP's command line interface?
Someone suggested a batch file, but when I tried executing this:
start php 1.php
start php 2.php
start php 3.php
It only opened a command prompt window; I closed that window, then two more command prompt windows opened up executing 2.php and 3.php.
I want to run as many scripts as I want all simultaneously and all in the background. What is the best way to accomplish this, and how can it be done?