PDA

View Full Version : Any tips for PHP4 + PHP5 on Fedora


citronz
12th December 2007, 16:45
By default I have PHP5 as DOS configured on ISPConfig server.
But now I need to add support for PHP4 as well.

Which way is better - PHP5 DSO + PHP4 CGI or PHP5 CGI + PHP4 CGI?
I guess that
$go_info["server"]["apache2_php"] = 'both';
should be changed to
$go_info["server"]["apache2_php"] = 'suphp';
in any case then?

Thanks!

falko
13th December 2007, 19:20
By default I have PHP5 as DOS configured on ISPConfig server.
But now I need to add support for PHP4 as well.

Which way is better - PHP5 DSO + PHP4 CGI or PHP5 CGI + PHP4 CGI?

I think I'd use PHP5 DSO + PHP4 CGI.
These howtos might help you:
http://www.howtoforge.com/apache2_suphp_php4_php5
http://www.howtoforge.com/apache2_with_php5_and_php4