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

Samsung Galaxy S6 or HTC One M9: Which Android flagship did you pre-order today?

Early this morning, the new HTC One M9 and Samsung Galaxy S6 became available for pre-order. As a mobile phone fanatic, it was very difficult for me to choose one over the other. I was able to use each of these smartphones a few weeks ago in Spain and if you look at my initial comparison it sounds like the Samsung Galaxy S6 and S6 Edge gained much more than the HTC One M9 over the respective previous generation devices. Read more

THE RISE OF ANDROID: How a flailing startup became the world's biggest computing platform

Today, Android powers about 85% of all smartphones globally, while the iPhone accounts for only 11%. It’s making a push into wristwatches, cars, and TVs. It’s not hard to envision a time when Android will be in every single device from stove and thermostats to toothbrushes. To grab 85% of the smartphone market, Rubin had to beat the two most valuable, and profitable, technology companies of their era: Microsoft and Apple. He had to fight entrenched wireless carriers. He had to get phone makers to buy into its radical vision. Read more

Zentyal announces Zentyal Server 4.1

Zentyal Development Team is proud to announce Zentyal Server 4.1, a new release of the Zentyal Server with native Microsoft® Exchange protocol implementation and Active Directory interoperability. Read more

OpenStack Kilo Now at Feature Freeze

We're now in the stretch run for the OpenStack Kilo platform release. Read more Also: Red Hat's Bet on OpenStack, OpenShift Shows Progress