Re: Cannot exec in my own directory

From: Date: Mon, 17 Aug 2009 13:06:04 +0000
Subject: Re: Cannot exec in my own directory
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-296874@lists.php.net to get a copy of this message
> see if can run the same php file via CLI. does script.sh run without > any problems ? then, probably something linke SELinux is preventing > httpd from running scripts. you have to contact your system > administrator to get this fixed. > You are right. Running the php script from the CLI in an SSH session results in the expected behaviour: the script specified in the exec command is run. Not so if I call the php script from a web browser. Thanks for the tipoff. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il

« previous php.general (#296874) next »