Re: different PHP configs for multiple sites on same machine
| From: | John Nichel | Date: | Mon, 24 Nov 2003 20:41:15 +0000 |
| Subject: | Re: different PHP configs for multiple sites on same machine | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170822@lists.php.net to get a copy of this message | ||
Pablo Gosse wrote:
Hi all. Is it possible to have different php.ini settings for different sites running on the same server (Apache)? What I want to do exactly is change the include_path on a per-site basis, without having to call ini_set in each page. I have the following: /home/vservers/cms.mysite.com /home/vservers/wwwdev.mysite.com /home/vservers/cmsdev.mysite.com And I would like to be able to run an individual php.ini file for each. I'm pretty new to administering Apache so I'm just wondering if this Is doable?I don't think multiple php.ini's are possible with just one instance of Apache. However, you can change alot of the php.ini settings for different directories (VirtualHosts) either in the httpd.conf file, or by using .htaccess -- By-Tor.com It's all about the Rush http://www.by-tor.com