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

Stefan Mischook's Blog: Free PDF Chapter: PHP5 CMS Framework Development

YouTube.com: Installing Zend Server on Linux in 4 minutes and 37 seconds

Greg Beaver's Blog: multiple __HALT_COMPILER(); no longer raises notices PHP 5.2.2+

Lukas Smith's Blog: PHP 5.3 alpha1 release imminent

ThinkPHP Blog: Spooky Action at not so much Distance


Community Events





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


install opinion list symfony2 refactor testing unittest framework community code introduction threedevsandamaybe interview laravel language configure developer release podcast series

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