Re: Exec don't work
| From: | Burhan Khalid | Date: | Thu, 12 May 2005 09:35:48 +0000 |
| Subject: | Re: Exec don't work | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215028@lists.php.net to get a copy of this message | ||
Greg Donald wrote:
On 5/10/05, Juan Pablo Herrera <jpherrera@gmail.com> wrote:In addition to the thing mentioned above, make sure you check the following things : 1. Is mod_security enabled on the server? (check the logs to find this out) 2. Is the command that you want to run in the path of the Apache user? If this is not true, then you will need to give a full path to the program, not just its executable name. A good way to test this is to run your command line script as Apache. 3. Of course, checking permissions on the program is obvious.Hi! I using php version 4.3.10. I have a script that used the exec function. Well it script only work from shell, but not work form web browser. My php.ini:Is it possible your mod_php is using a different php.ini than your cli php?safe_mode Off Off safe_mode_exec_dir no value no valueHave somebody experience in this problem?