PHP4 and PHP5 with Plesk 8.0.1 + CentOS 4.3

Support/Development for PHP
Santi
New Forum User
New Forum User
Posts: 1
Joined: Fri Apr 28, 2006 5:12 am

PHP4 and PHP5 with Plesk 8.0.1 + CentOS 4.3

Unread post by Santi »

Hello,

I need to install PHP5 in a server running CentOS 4.3 and Plesk 8.0.1, running in parallel with PHP4.

PHP4 scripts will be procesed by default, and PHP5 script only when file extension is ".php5":

Code: Select all

LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
What's the correct way to make this, is there any RPM and howto avaliable?

I'm thinking to install directly from PHP source code tarballs because I'm afraid to use RPMs that overwrites PHP4 installation ;-(

That is the server configuration:

Code: Select all

php-4.3.9-3.15
php-mbstring-4.3.9-3.15
php-pear-4.3.9-3.15
php-imap-4.3.9-3.15
php-gd-4.3.9-3.15
php-domxml-4.3.9-3.15
php-mysql-4.3.9-3.15
psa-php4-configurator-1.0.0-centos4.2.build80060613.20
mysql-4.1.20-1.RHEL4.1
mysql-server-4.1.20-1.RHEL4.1
php-mysql-4.3.9-3.15
httpd-suexec-2.0.52-22.ent.centos4
httpd-2.0.52-22.ent.centos4
Regards,
Post Reply