Re: I think this is a bug...cant use exec commands.
| From: | Jason Wong | Date: | Fri, 02 Apr 2004 06:37:38 +0000 |
| Subject: | Re: I think this is a bug...cant use exec commands. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182093@lists.php.net to get a copy of this message | ||
On Friday 02 April 2004 13:57, Brian Duke wrote:
> I tell you the truth. I have only 1 php.ini. There are other ini files I
> have looked at but I have not found anything in them about safe mode.
What are these other ini files you've looked at?
> Everything has been double or triple checked. Still not able run any
> shell_exec commands from the command line.
How are you executing this script? Via a webserver or directly using the php
executable? If the former use phpinfo() to find out where php thinks it's
php.ini should be found, if the latter use "php -i". Once you've determined
where your php.ini should be examine its safe_mode settings.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
There is always one thing to remember: writers are always selling somebody
out.
-- Joan Didion, "Slouching Towards Bethlehem"
*/