Separate php.ini file for each Apache virtual host?
- by Calvin L
Is it possible to have a separate php.ini file that overrides the default php.ini file for each virtual host? I'm running Apache/2.2.14, PHP 5.3.2-1.
For example I have several vhosts pointing to domains in my /var/www/ directory:
/var/www/website1.com
/var/www/website2.com
What I'd like is to be able to place a custom php.ini file in each…