Home >Backend Development >PHP Problem >How to install php5.3 environment with apt

How to install php5.3 environment with apt

藏色散人
藏色散人Original
2020-08-24 10:54:437829browse

How to install php5.3 environment with apt: First execute the command "sudo apt-get install libxml2-dev"; then execute the command from make.

How to install php5.3 environment with apt

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn