Link to home
Create AccountLog in
Avatar of kalvillo

asked on

PHP 4 and PHP 5 on the same server


I have a CentOS server with PHP 4.x installed; i tried to upgrade it to PHP 5.x, but the procedure disrupted the MySQL and Perl installations.

Is ir possible to install PHP 5 on the same server without touching the already installed PHP 4?
Avatar of EMB01
Flag of United States of America image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Yes but you will also need 2 seperate web servers one that is configured to parse the PHP file with PHP4 and another that is configured to parse with your instance of PHP5.
You will also want to install MySQL.

This may give you some good information, too.

You might want to consider using a different file suffix for your testing while you are still in migration.  Maybe something like script.php5