HowtoForge: Running Apache2 With PHP5 And PHP4 At The Same Time | Linux Today

HowtoForge: Running Apache2 With PHP5 And PHP4 At The Same Time

Written By
FT
Falko Timme
Feb 28, 2006

[ Thanks to Falko
Timme
for this link. ]

“This tutorial shows how to install and configure Apache2 with
PHP5 and PHP4 enabled at the same time. Because it is not possible
to run both PHP5 and PHP4 as Apache modules, we must run one of
them as CGI, the other one as Apache module. In this document I
will use PHP5 as Apache module and PHP4 as CGI, and I will describe
the setup for the Linux distributions Debian Sarge (3.1) and Ubuntu
5.10 (Breezy Badger).

“I want to say first that this is not the only way of setting up
such a system…”

Complete
Story

FT

Falko Timme

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.