I am trying to get multiple php scripts to run in Parallel. I am running WAMP meaning no easy access to bash or cronjobs. Hence the attempt to make this work using php only.
<?php
include("test2.php");
include("test3.php");
include("test4.php");
?>
but the test files have a wait command before outputting a line of code. When I run this, it waits for each individual php to finish it's wait time before moving on. I want them to all run at the same time (parallel)
I also tried
system('C:\wamp\bin\php\php5.4.3 test2.php &');
The goal is to make the script run these scripts in parallel, wait for them to finish running in parallel and output an echo that says finished. Am I missing something?