PDA

View Full Version : PHP - Per site / virtual host


wlangdon
2006-09-19, 02:43 AM CDT
Hi,

I have been though the howtoforge setup for Fedora Core 5 which allows you to disable PHP globally and then later enable it with ISPConfig on a per site basis.

Is there a way to enable it per site (virtual host) without using ISPConfig ? If so how would this be done ?
(An example of the config file requirements would be great)

Any help will be appreciated.

Thanks!

this213
2006-09-20, 12:23 PM CDT
Never really tried it, but I would assume you could remove your AddHandler line for it from your global config, then just add it to the VirtualHost directives for the sites you wanted to have PHP.