Answers for "php get pid"

PHP
0

get process id php

getmypid ( ) : int
Posted by: Guest on November-06-2020
0

php exec get pid

$command =  'yourcommand' . ' > /dev/null 2>&1 & echo $!; ';

$pid = exec($command, $output);

var_dump($pid);
Posted by: Guest on May-12-2021

Browse Popular Code Answers by Language