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: Working with the Tidy Library in PHP 5

ONLamp.com: Important PHP 5.3 Changes for those of you Running Microsoft Windows

PHPBuilder.com: Building a time-tracking and billing application with Adobe AIR and PHP

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Mandriva 2008.0

DevShed: Migrating Class Code for a MIME Email to PHP 5


Community Events

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


performance api series library language conference example podcast configure application install framework release interview community laravel php7 opinion symfony2 introduction

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