Language Selection

English French German Italian Portuguese Spanish

Running Apache2 With PHP5 And PHP4 At The Same Time

Filed under
HowTos

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).

1 Setup For Debian Sarge (3.1)

First, you must at least have a working basic Debian installation, as described on the first two pages of the "Perfect Setup" tutorial for Debian Sarge here on HowtoForge: http://www.howtoforge.com/perfect_setup_debian_sarge and http://www.howtoforge.com/perfect_setup_debian_sarge_p2

Because PHP5 is not available in the official Debian Sarge repositories, we have to add another repository (packages.dotdeb.org) to /etc/apt/sources.list. Add these two lines:

Full Article.

More in Tux Machines

Will New Google Android Live TV Outfox Apple?

Google then rolled out its $35 Chromecast dongle, a streaming device, in mid-2013. Google's new Android TV operating system is expected to make it easier for software developers to move apps from mobile devices to TVs. Read more

Q4OS Is a Windows-Lookalike OS That Now Comes with LXDE and Xfce as Well

Q4OS, a Linux distribution built to offer a similar experience to Windows XP, is now featuring a couple of extra desktop environments that should provide some more options for users who want a different look. Read more

today's howtos

Leftovers: Gaming