Re: Enable exec() and system() for a directory only
| From: | Mike | Date: | Mon, 18 Oct 2004 14:59:07 +0000 |
| Subject: | Re: Enable exec() and system() for a directory only | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199732@lists.php.net to get a copy of this message | ||
on 10/18/04 10:40 AM, David Garcia Aristegui at david@cnb.uam.es wrote:
> Hello, newbie question: how can i enable exec() and system() for a
> certain directory only? Thank you in advanced.
I think this would require you to use the 'php_admin_flag' command in the
virtual host's config file.
Kinda like this:
php_admin_flag safe_mode off
php_admin_flag register_globals on
php_admin_flag allow_url_fopen off
+--------------------------------------------+
Mike Yrabedra
Mac@gent.com
Your Mac Intelligence Resource
+--------------------------------------------+
W: http://www.macagent.com/
E: agenty@macagent.com