amphp / parallel

An advanced parallelization library for PHP, enabling efficient multitasking, optimizing resource use, and application responsiveness through multiple CPU threads.
MIT License
779 stars 64 forks source link

Under XAMPP 8.2.4 the first example program freeze #184

Open norbi72 opened 1 year ago

norbi72 commented 1 year ago

After a clean install of the latest XAMPP 8.2.4 I've tried the first example under the Usage section, and it stucks: no response, no log, nothing. In the Preocess Explorer sometimes a new child process appears for a second (ProcessWrapper & PHP) and disappears, but in the browser nothing happens.

With the previous XAMPP version (8.1.1) it was worked fine. Something changed? I need to enable/install some module?

Thanks, Norbert

trowski commented 10 months ago

I do not have any experience using XAMPP, and I suspect that creating child processes within XAMPP and PHP may not be supported. Apache typically runs PHP through a module (mod_php) which AFAIK will not be compatible with this library. This library is targeted to applications written entirely in PHP, running though the CLI.

norbi72 commented 10 months ago

Thanks, but I think the problem is different, because it is perfectly working with XAMPP 8.1.1, but I want to upgrade it.