Php script execution, process creation

// process.php:
<?php
var_dump("process");
sleep(5)
var_dump("process");
:
php process.php
Will

create a process?

Apr.07,2021

the first thing to understand is the concept of a process, which is triggered by the executor.
php xxx.php creates a php process, but this process is not a daemon and will be destroyed as soon as it is executed.
you can use the top command to observe


No, a script in PHP is a process unless you explicitly use the fork process to call the system function inside.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b346ff-2bf0d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b346ff-2bf0d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?