Re: How to use different php.ini
| From: | (PHPDiscuss - PHP Newsgroups and mailing lists) | Date: | Wed, 09 Jun 2004 19:17:38 +0000 |
| Subject: | Re: How to use different php.ini | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-13637@lists.php.net to get a copy of this message | ||
Hi Joel, edit the .htaccess file of the user and add this line:
SetEnv PHPRC /home/user
now, only copy an php.ini file into the web folder of the user
/home/user/www
thats all
bye.
Alejandro Zanlongo
Joel Kermabon wrote:
> Hello
> In order to deal with different sites configurations how can I use more
> than one php.ini ?
> Another way will be to overide the register_globals = On directive but I
> don't know how to do.
> I know that I can use a .php.ini in user directory but this solution is
> not appropriate to me because the server is running under the apache
> user and I don't want to change this setting.
> Any idea ?
> Cordialy
> Joël Kermabon
> Neptune Internet Services