Forum

Per Vhost/site php.ini

Amar
2 August 2011, 21:09
Hello Hugo

Please tell me if one from subject is possible and if yes where should I look in docs for it ?

Best

Hiawatha version: 7.5
Operating System: Debian
Hugo Leisink
2 August 2011, 21:13
Yes, that is possible.

When using normal CGI, Google for the PHPRC environment variable. This can be set per virtual host via the SetEnv option in hiawatha.conf.

When using FastCGI PHP, use a seperate FastCGI daemon per virtual host and use a different PHP configuration file per daemon (see php-fcgi manual page).
This topic has been closed.