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

Leftovers: Software

  • diction: The words you choose and why
  • style: Similar idea, different direction
  • SMS based Cosmos Browser for the developing countries
    Browsing the internet has different meaning to different people. While to some the web is a source of entertainment, to others it is a valuable and source of learning. Sadly enough, the internet is not widely available and easily affordable everywhere in the globe. Slow network speed is another problem. Developer Stefan Aleksic of ColdSauce tries to find a solution in an SMS (text) based browser for the third world countries which are yet to see the internet as we know it. He has named it the Cosmos Browser. If you ever used elinks on Linux, you know how efficient and low-bandwidth text only browsing can be. Of course, it is not meant for visiting a website for downloading wallpapers, but it is more than sufficient if you want to read some information from the web. Cosmos will work on text and will not need any data plan or WiFi.
  • Keyboard Modifiers State indicator For Ubuntu: Xkbmod Indicator

today's howtos

Leftovers: Gaming

Sorry, Windows 9 Fans, This Is How Multiple Desktops Should Work – Video

The Linux platform has always taken pride in this cool feature. Having multiple desktops is a great way to increase the productivity and there are numerous means to implement it. Lots of Linux distributions have this option, which is used in various ways. Read more