|
The is the output when I run the script below. PHP is running as nobody and not the script owner.
UID PID PPID C STIME TTY TIME CMD
nobody 3522 3494 0 21:37 ? 00:00:00
-----
lsphp5:/usr/local/lsws/DEFAULT/html/id.php
$pid=getmypid();
echo "getmypid()=" . $pid ."<br>";
echo "<hr><pre>";
system("ps -fp " . $pid);
echo "</pre><hr>";
---------
|