Re: [PHP] Exec() denied read on Apache (fedora core 3)

2004-12-25 Thread Zia Syed
I just found out that I was having SELinux enabled, which was causing the trouble. Once disabled, I can run PHP in safemode and use exec. I know its not the safest thing to do, but until I learn a bit more about SELinux, this is the way to go :) Z. On Fri, 24 Dec 2004 14:48:20 +, Zia Syed

Re: [PHP] Exec() denied read on Apache (fedora core 3)

2004-12-24 Thread Zia Syed
tion not found r however, with who.php, it works [EMAIL PROTECTED] html]# php who.php Content-type: text/html X-Powered-By: PHP/4.3.9 root :( I'm still stuck with it. Z. On Fri, 24 Dec 2004 08:13:37 -0600, Greg Donald <[EMAIL PROTECTED]> wrote: > On Fri, 24 Dec 2004 12:09:51 +0

[PHP] Exec() denied read on Apache (fedora core 3)

2004-12-24 Thread Zia Syed
Hi, I've been trying to execute some system commands and print back the output on the webpage. I found the following code to do so, however, it is not working. I get following errors in my /var/log/messages Dec 24 12:03:34 melville kernel: audit(1103889814.948:0): avc: denied { read } for p