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

How to install php5.3 environment with apt

藏色散人
Release: 2023-03-05 07:28:01
Original
7832 people have browsed it

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
Copy after login

——————————————

If an error is prompted when using the make command, use

sudo apt-get install libxml2-dev
Copy after login

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template