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

Features Of The Linux 3.19 Kernel: Graphics & Disks Rule

The merge window is closed and 3.19-rc1 was released on Saturday, marking the end of new mainline Linux kernel features for 2014. Here's a rundown of the exciting new features of the Linux 3.19 kernel for what will become the first major kernel release of 2015. Read more

Mac OS X Yosemite, From The Perspective Of A Linux User

It’s been a while since Mac OS X 10.10 “Yosemite” has been released into the wild, so we have a pretty good idea of how it performs. Mac OS X is also sometimes used as the poster child for a clean and elegant interface (most of the time, anyways). As a Linux writer, it’s my duty to make comparisons not only amongst Linux distros, but also against the competition. Read more

Kodi 14.0 Helix Unwinds

Merry Christmas and happy holidays, everyone! We are proud to announce the release of Kodi 14.0, which comes with a new name, a new logo, and a wide variety of new features, but underneath the new coat of paint remains the same software we all love. A detailed changelog for Kodi 14 can be found under milestones on our code repository, should you be interested. With that said, let’s take a look at some of the features that come with Kodi 14.0. Read more

KaOS ISO 2014.12

KaOS is very proud to announce the availability of the December release of a new stable ISO. This ISO marks two major milestones for this distribution. Since it’s inception almost two years ago, a need to be ready for UEFI installs has always been a priority. That was tied though to getting a modern Qt based installer that could handle such UEFI installs. With this ISO, both are implemented. Read more