How to install php5.3 environment with apt: First execute the command "sudo apt-get install libxml2-dev"; then execute the command from make.
Recommended: "PHP Video Tutorial"
Installing PHP 5.3 in ubuntu 16.04
wget http://in1.php.net/distributions/php-5.3.29.tar.bz2 tar -xvf php-5.3.29.tar.bz2 cd php-5.3.29 ./configure make make test # Neither mandatory nor a bad idea. sudo make install
——————————————
If an error is prompted when using the make command, use
sudo apt-get install libxml2-dev
and then start executing the command from make.
The above is the detailed content of How to install php5.3 environment with apt. For more information, please follow other related articles on the PHP Chinese website!