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

GNOME and KDE

  • Community Time at Collabora [Ed: Mono]
  • Refocus
    Sometimes all those GNOME programming projects are driving me crazy. [...] Note that for that last item, I would use LaTeXila of course, so if there are some regressions due to some library changes (you perfectly know which library in particular I mean), I’ll probably become aware of the regressions and fix them. Without any guarantees, I repeat. So if someone wants to take over LaTeXila maintenance, I would be more than happy. In the condition that I can still recognize my old pet project afterwards and is still mostly bug-free.
  • Chakra GNU/Linux Users Get KDE Plasma 5.5.4 and Calligra 2.9.11 Office Suite
    Users of the Chakra GNU/Linux operating system were informed this past weekend by the project's maintainer Neofytos Kolokotronis of the availability of two essential software distributions for the rolling OS.
  • Konqi emoji shipped! and a little preview…
    It will end up in your KDE distribution soon !!! I am really very happy that many of you have appreciated my work.

Leftovers: Gaming

today's howtos

Kernel Space: Linux, Graphics