Is there a way to use a different
php.ini file foreach
VirtualHost in apache?
I know that there are the
<Location /stat/> php_admin_value safe_mode off </Location>
But i want to specify a full php.ini file for a virtualhost.
You will need to use something like suPHP to achieve this. In addition to running each VirtualHost's php execution as a different user - it allows you to have multiple php.ini files for VirtualHosts and Directories (Based on
You can install suPHP via aptitude:
An example virtual host:
You can also set the suPHP_Config directive in