Re: php exec()
| From: | Michelle Konzack | Date: | Thu, 06 Nov 2008 01:27:37 +0000 |
| Subject: | Re: php exec() | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-283055@lists.php.net to get a copy of this message | ||
Am 2008-11-03 13:28:27, schrieb cheesiong:
> 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.
There are programs which EXPECT to have a terminal for its output,
otherwise they refuse to to anything...
Sometimes you can fool programs using the weird thing like:
exec('ipkg-cl --version >/dev/stdout 2>&1', $output);
This looks a little bit bizzar, but I have to tools which NEED it.
However, I am not the author ot this tools.
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)