Re: [PHP] different PHP configs for multiple sites on same machine

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-24-2003
John Nichel
 
Posts: n/a
Default Re: [PHP] different PHP configs for multiple sites on same machine

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:42 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0