Re: php exec()
| From: | cheesiong | Date: | Mon, 03 Nov 2008 05:53:59 +0000 |
| Subject: | Re: php exec() | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282775@lists.php.net to get a copy of this message | ||
hi Chris,
my linux system is LFS that i build from scratch.
i cant su to daemon.
below is my /etc/passwd:
root [ /srv/www/test ]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
sshd:x:50:50:sshd PrivSep:/var/lib/sshd:/bin/false
daemon:x:6:6:daemon:/dev/null:/bin/false
i try to run the same thing in other platform:
it come out a more meaningful msg. i will trace from there.
any hint from you?
[root@Linux test]#tail /opt/logs/error_log
[Mon Jun 23 12:06:24 2008] [error] [client 169.254.0.20] sh: , referer:
http://169.254.0.101/test/
[Mon Jun 23 12:06:24 2008] [error] [client 169.254.0.20]
/opt/ipkg-0.99.163/bin/ipkg-cl: Permission denied, referer:
http://169.254.0.101/test/
[Mon Jun 23 12:06:24 2008] [error] [client 169.254.0.20] , referer:
http://169.254.0.101/test/
regards,-keo
On Mon, Nov 3, 2008 at 1:45 PM, Chris <dmagick@gmail.com> wrote:
> cheesiong wrote:
>
>> hi Chris,
>> thank you. i change the path and change the httpd.conf LogLevel to debug
>> then restart apache.
>> but nothing is change from the output or the error log.
>> basically it is still not working.
>>
>> this is weird, isn't it. the apache is run with Daemon, but i already
>> change the chmod to 777. should not be a problem.
>>
>
> Log in as root then su to your apache user and run it from the command
> line. What happens?
>
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
>
>