different PHP configs for multiple sites on same machine
| From: | Pablo Gosse | Date: | Mon, 24 Nov 2003 20:17:45 +0000 |
| Subject: | different PHP configs for multiple sites on same machine | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-170819@lists.php.net to get a copy of this message | ||
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?
Cheers,
Pablo