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

The top open source rookie projects of the year to watch

Open-source projects underpin many of today's popular apps, software packages, and online services. If a vendor releases code to the open-source community, license restrictions are removed and software can be integrated into other systems. From Google's end-to-end encryption system E2EMail to the Netflix cross-scripting site vulnerability scanner Sleepy Puppy, open-source development is thriving and thousands of developers contribute their time to improving coding and ferreting out bugs every month. Read more

Start with Scratch: Learn Linux by rolling your own distro

Linux From Scratch teaches you how to bake a complete Linux system, minus cutting-edge details like Docker -- although for those allergic to systemd, you can leave that out too Read more

10 Best Linux Desktop Environments And Their Comparison | 2017 Edition

The Linux world is full of open source software. You have the option of choosing from hundreds of distributions and customize them as per your will. No one slaps you with a copyright even if you change the source code of a distro to fork your Linux distro and release it with a new name. Only one thing the creators may ask you is to give them proper credits because they have also invested their efforts and time. Read more

Using Open Source to Empower Students in Tanzania

Powering Potential Inc. (PPI) aims to enhance education opportunities for students in Tanzania with the help of the Raspberry Pi and open source technology. “I believe technology is a vital part of the modern human experience. It enlightens. It ties us together. It broadens our horizons and teaches us what we can be. I believe everyone deserves access to these resources,” says Janice Lathen, Founding Director and President of PPI. Read more