Networking, Programming and Graphics Tutorials

Php 4.x Support on Fedora core 7 with Plesk 8.4 [1/2]

Type: Code Networking, Programming and Graphics Tutorials
Php 4.x Support on Fedora core 7 with Plesk 8.4
Level: Expert Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials 
Php 4.x Support on Fedora core 7 with Plesk 8.4
Date: 2008-Jul-30
Php 4.x Support on Fedora core 7 with Plesk 8.4
Visited: 543 times
Php 4.x Support on Fedora core 7 with Plesk 8.4
Rating: Php 4.x Support on Fedora core 7 with Plesk 8.4
Php 4.x Support on Fedora core 7 with Plesk 8.4
Author: Stephen Think

This is a compile guide for using php4.x in Fedora core 7 with Plesk . Tested with php versions 4.4.4 , 4.4.6, 4.4.7 and 4.4.8 . Plesk versions 8.3 and 8.4. Before we continue i would like to make a note that this article is not meant to show you how to use php 4.x and php 5.x on the same server. My personal opinion is that it generally makes it harder for administration and also it will require one of the php instances to work as CGI or FastCGI, or fcgi , or whatever. This are proven to have slower performance than mod_php .

Another point that i would like to make is that you better think of this as temporary solution. I highly recommend to adapt your code for php 5.x rather than to stick to php 4.x . That i snot because php 4.x is insecure as many sales people will say , i know that your php 4.x code has been working fine for years and your site is still up and working.

Now lets get to the point. Here is what you will need to do.

First we have to install the required development packages so that we are able to compile php as apache 2.x module.
# we will have support for mysql, imap, ftp, GD lib, pear, regular expressions, zend, etc.

yum install flex pcre-devel.i386 pam-devel uw-imap-devel krb5-devel.i386 openssl-devel.i386 mysql-devel.i386 httpd-devel gd-devel.i386
We download the latest tarbal from http://www.php.net and we save it in /opt/php4.x/source
Note that we have to crate that directory first!
As the current version of php4 family is 4.4.8 i will use it for example

mkdir /opt/php4.4.8
mkdir /opt/php4.4.8/source
cd /opt/php4.4.8/source
wget http://us.php.net/distributions/php-4.4.8.tar.gz
tar xvf php-4.4.8.tar.gz
cd php-4.4.8
Networking, Programming and Graphics Tutorials - Php 4.x Support on Fedora core 7 with Plesk 8.4 [1/2] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: open_basedir plesk fedora  plesk fedora open_basedir  trillian webcam support  multilevel inheritance support php  "your browser doesn't support AJAX"  "Your browser does not support ajax"  trillian msn webcam support  Does c++ support multilevel and multiple inheritance in c++  fedora mount example  php4.4.8 fedora 8