How to install old versions of PHP below php 5.5?

2

I've heard that Ubuntu contains packages already available for installation, well, I've confirmed it and it's true, I installed only that it came with php5.5 , I need the php5.2.17 , for installation of my vBulletin , how can I install it?

Apache 2.2.21 PHP 5.2.17 MySQL 5.5.21

    
asked by anonymous 07.05.2015 / 05:28

1 answer

1

In the vBulletin site says that PHP 5.3.7 is up. This version of your version should be outdated.

I had this same problem, because older versions of PHP use libraries that are no longer available in new versions of Ubuntu.

You can use an older version of Ubuntu or Linux that supports PHP 5.3

Or download from PHP website compile and install:

wget http://museum.php.net/php5/php-5.2.17.tar.bz2
tar -xvf php-5.2.17.tar.bz2
cd php-5.2.17
./configure
make
make install
    
07.05.2015 / 05:44