View Single Post
  #2  
Old 2nd May 2007, 20:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,573
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

Quote:
It is just not possible to run php4 as php5 is installed as default.
This is assumption not correct. I recently installed it for a customer: php as mod_php + php4 as cgi.

1) Install the php4-cgi package from your linux distribution.

2) To enable PHP4 in a website, add these two lines in the
apache directives field of the website:

Action php4-cgi /cgi-bin/php
AddHandler php4-cgi .php


And then make sure that the following options are disabled:

CGI-Scripts
Standard CGIs
PHP Scripts
PHP Safemode
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote