PHP4 on Fedora Core 4

EDIT (Dec 19, 2005):
I have written a formal guide on PHP4 on FC4.

One of my biggest difficulties with using Fedora Core 4 was that it packages PHP5 with the Apache webserver. Any experienced person should know that Fedora Core is probably a terrible Linux Distribution to be using for a large scale Web Server on the Public Internet. However, it may be sufficient for home or Intranet usage.

What I like to do is, I mirror my public main site mjm wired on my home Linux computer. This was very easy with FC1 – FC3, however PHP5 broke several things in my PHP code. I tried fixing most of them, but it wasn’t worth the effort since my current hosting provider is still on PHP v4.3.10. Anyways, I tried meddling with the PHP4 RPM in FC3 – that was no good. Then I tried recompiling the source RPM for FC3 (src.rpm), but that caused too many compiler errors and with over 60 lines of configure options to compile I couldn’t figure out all the dependancies and flags to satisfy the compile. I had some problems with some XML libraries.

In the end I just compiled the tar.bz2 with some minimal settings. I set the install directory to use /opt/php4 so as not to disturb PHP5. It properly installs the PHP4 Apache Module in the correct location. Then I had to edit /etc/httpd/conf.d/php.conf to disable PHP5 and enable PHP4. So now Apache2 on FC4 runs PHP4 correctly for me. I know there is some way to run them in parallel with controlling certain directories and controlling certain Types (.php, .php4, .php5), but I don’t require this at the moment.

I might write a formal process on this later when I get the time. However, I do think that there MUST be a better way to do this, I am open to suggestion or tips.

Toying with Kernel 2.6.13

Since the 2.6.13 kernel was released some time ago, I’ve heard plenty of negative commentary about changes within it. From referring to the Fedora-list mailing list, it appears as though there were plenty of rough edges. Anyways, using my FC4 Kernel Notes, I followed through my procedure and installed version from source.

The first observation I noticed was that it didn’t seem much different from my last 2.6.12 kernel or my last 2.6.11 FC4 kernel. The only major thing was that my ACPI was broken for S3. I can enter Suspend to RAM (STR) but it won’t resume properly. Normally on previous 2.6.9 and previous kernels, the OS would resume, but I lost input, screen, mouse or some other hardware. In this case not even the PowerButton works correctly. I need some more experimentation here.

Another Linux User Blog

I think I’m finally ready to launch a Linux only technical Blog. I have no major goals other than to document some issues that I may wish to examine at a later date. Other than that I would hope that my notes regarding my experiences or observations may be useful to the general linux user community.

If you’ve visited my site before you know that I have a high preference to Redhat and Fedora. Also keep in mind that I still dual boot with Windows. And a quick note about my current title. Although I am very pleased with many offerings from Linux and Open Source software, I still feel there are many shortcomings and problems. I want to be realistic in my assessments. Hopefully something noteworthy will end up in these pages.