News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

HowToForge.com:
Running Apache2 With PHP5 And PHP4 At The Same Time
February 07, 2006 @ 15:27:53

HowToForge.com has a new tutorail posted today that aims to show you how to run both PHP4 and PHP5 on a single Apache2 web server.

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. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

They base the entire installation around Debian, so ideally you're set up on it or have some pretty good knowledge of linux in general. They apt-get install several packages, change some Apache config files, enable some modules, and restart things to get it all set up. The Ubuntu install is just about as easy, wiht only really a few items changed.

0 comments voice your opinion now!
run php4 php5 same time linux debian ubuntu run php4 php5 same time linux debian ubuntu


blog comments powered by Disqus

Similar Posts

DevShed: Using PDO Objects in PHP 5 - Using the PDO extension

DevShed: Building an Image Generator Class with PHP 5

DevShed: Enforcing Object Types in PHP - Using the Type Hinting Feature in PHP 5

Christopher Jones' Blog: PECL OCI8 1.2.5 Available

Justin Silverton\'s Blog: Why use php5?


Community Events





Don't see your event here?
Let us know!


community opinion introduction laravel api framework list package library deployment symfony tips install release language interview zendserver update series podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework