This is a discussion on Re: [PHP] different PHP configs for multiple sites on same machine within the PHP General forums, part of the PHP Programming Forums category; Pablo Gosse wrote: > Hi all. Is it possible to have different php.ini settings for different > sites running ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|