Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by pctony: http://wiki.apache.org/httpd/ScratchPad/PHP4AndPHP5 ------------------------------------------------------------------------------ == Guide to enabling both PHP4 and PHP5 in different vhosts == - We often see people asking how to enable both PHP4, and PHP5 for different vhosts. This can be done if you follow the Apache recommended method of enabling PHP in the first place. There is a very popular misconception that people should use {{{AddType}}} to enable PHP. This will not work in this scenario is not recommended.[[BR]] + We often see people asking how to enable both PHP4, and PHP5 for different vhosts. This can be done if you follow the Apache recommended method of enabling PHP in the first place. There is a very popular misconception that people should use {{{AddType}}} to enable PHP. This will not work in this scenario and is not recommended.[[BR]] We won't tell you how to install PHP, but you need to make sure that you select different install locations for each version. You then need to maintain a separate copy of {{{php.ini}}} for each install. The PHP modules should be loaded by having something similar to this in your {{{httpd.conf}}}
