Re: php4: less config variables
| From: | Estelle Martin | Date: | Fri, 08 Sep 2000 06:52:31 +0000 |
| Subject: | Re: php4: less config variables | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15840@lists.php.net to get a copy of this message | ||
Thank you Lars, David, it works great :-)
Lars Torben Wilson wrote:
>
> Estelle Martin writes:
> ? Hi all,
> ? I am very frustrated: I have been running php3 for 4 months and I was
> ? used to some configuration options that were secure for several
> ? users to put their php pages on their site. In particular, for
> ? each virtual host, I put php3_open_basedir in a directory tag in
> ? httpd.conf of Apache, so that the user cannot change directory out of
> ? his own part of the server. Yesterday I installed PHP4, and here is
> ? what I read:
> ? "
> ? With PHP 3.0, there are Apache directives that correspond to each
> ? configuration setting in the php3.ini name, except the name is prefixed
> ? by "php3_".
> ?
> ? With PHP 4.0, there are just a few Apache directives that allow you to
> ? change the PHP configuration settings.
> ? "
> ? And in these "few Apache directives", open_basedir is not ...
> ? This means that I have to put open_basedir in the php.ini file and I
> ? cannot put a different value for each directory ?
> ? Did somebody have the same desillusion and maybe an alternate solution ?
> ? Thank you,
> ? Estelle
>
> No...:) It means that there is no longer one directive *per
> option*. Each directive, however, takes an option and its value as
> arguments.
>
> For instance, what would have been 'php3_include_path /some/path' in
> PHP 3 becomes, in PHP 4, 'php_admin_value include_path /some/path'.
>
> You can still do your thing; just the syntax has changed.
>
> Hope this helps,
>
> Torben
>
> --
> +----------------------------------------------------------------+
> |Torben Wilson ?torben@php.net? Netmill iTech|
> |http://www.coastnet.com/~torben
> http://www.netmill.fi|
> |Ph: 1 250 383-9735 torben@netmill.fi|
> +----------------------------------------------------------------+
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net