cannot read output with fgets() from popen()

From: Date: Fri, 16 Nov 2001 15:02:07 +0000
Subject: cannot read output with fgets() from popen()
Groups: php.install 
Request: Send a blank email to php-install+get-4993@lists.php.net to get a copy of this message
i try to: $fp = popen("/bin/ls"),"r"); $retvalue = fgets($fp, 4096); pclose($fp); print $retvalue; why $retvalue is always "" (blank)? config is: apache, php, suse... all newer versions... and standard configurations... apache runs on a specified user. does apache needs root rights or suid on shell? target command? pleas help, tia. simeon.

« previous php.install (#4993) next »