Re: exec() problem [SOLVED]
| From: | A. Mannini | Date: | Sat, 14 Nov 2009 23:46:27 +0000 |
| Subject: | Re: exec() problem [SOLVED] | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299833@lists.php.net to get a copy of this message | ||
Ashley Sheridan ha scritto:
On Sun, 2009-11-15 at 00:06 +0100, A. Mannini wrote:Ok commenting out Defaults requiretty now it works! The second message " sudo: no tty present and no askpass program specified" was due to wrong command issued during tests. Many thanks AlessandroAshley Sheridan ha scritto:I think for something like that, you should be looking at your system logs, as that's likely where the errors would log. Thanks, Ash http://www.ashleysheridan.co.ukHave you checked to ensure that the exec is actually running at all? Check the error logs to see what they say. There may be a problem with the string argument for exec(), like an unescaped character that is causing an issue Thanks, Ash http://www.ashleysheridan.co.ukYes i had no messages in Apache logs so i tried to use error_log in php.ini but again no messages. Don't know if there is a way to see what php module interpeter and try to execute. Thanks Alessandro