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

Ultimate Linux on the Desktop

Over the past couple of years I have set out to create the ultimate Linux on the desktop experience for myself. Obviously everyone who runs Linux has their own opinions on things. What this post will outline is my ultimate Linux on the desktop experience. So just remember that before you get your panties in a knot on HackerNews because you live and die by Xmonad (I live and die by i3, fight me). First, you should already know that I run everything on my laptop in containers. I outlined this in my posts about Docker Containers on the Desktop and Runc Containers on the Desktop. Read more Also: Optimizing Linux for Slow Computers

Dedoimedo interviews: DistroWatch

I don't there's much for me to add. Jesse provided a very detailed drilldown into what DistroWatch is, what it does, and most importantly, how you can help, whether you're a reader or a distro developer. Getting involved may be intimidating, but it also has its rewards. And there's potential for blooming tech writers to spread their wings, too. Anyhow, I'd like to thank Jesse, introspect on our uncanny pseudo-genetic similarity, and go back to plotting and hatching additional stories, reviews and interviews. To wit, if you have any ideas or recommendations, or if you crave some spotlight yourself, feel free to contact me. WARP 9, engage. Read more

KDE Frameworks 5.30.0 Released for KDE Plasma 5 Users with Over 100 Changes

A new monthly release of the KDE Frameworks collection of over 70 add-on libraries for the Qt 5 GUI (Graphical User Interface) toolkit has been released recently for KDE Plasma 5 desktop environments. Read more

GoboLinux: A Linux Distribution With New Filesystem Hierarchy

GoboLinux introduces a lot of new ideas and designs into the Linux distributions world. Things like the filesystem hierarchy and the compiling scripts are amazing examples of what “modernizing” Linux distributions may really mean. However, the distribution wasn’t intended to be “user-friendly” or “ready-out-of-the-box”. Because of this, it can be said actually that the distribution manages to achieve its goals. An experianced user with a lot of time would definitely enjoy using and tweaking GoboLinux to fit his needs and learn in his way. Read more