$cmd = 'ping -c 2 www.yahoo.com > response.txt 2>&1'; $shellOutput = shell_exec($cmd);i am trying to get a ping command to work with php and that returns:
ping: icmp open socket: Operation not permitted
i tried changing to owner to the user that php executes the script on, and root. it changes nothing.
can someone please help me?
also, i am running on CentOS SE, PHP 5.2.3, Apache 1.3.
