1ubuntu16.04 -Ubuntu 16 cannot install PHP5.6
What is going on? To install php 5.x, you need to add a third-party source:
sudo apt-add-repository ppa:ondrej/php
Copy after login
![1483432393460852.png Regarding the problem that php5.6 cannot be installed on ubuntu 16](https://img.php.cn//upload/image/967/106/967/1483432393460852.png)
Then install it after a normal update. The package of php 5.6 starts with php5.6-
, such as
php5.6-fpm
. In addition, in addition to 5.6 and 7.0, this source also has 5.5 and 7.1 (beta), which are updated with the official release.The above is the content of ubuntu16.04 - ubuntu 16 cannot install php5.6. For more related content, please pay attention to the PHP Chinese website (
m.sbmmt.com)!
Related articles
Enable PHP debugging mode under Ubuntu and display error message
Mongodb extension operation command for installing PHP under Ubuntu
Solution to ERROR 1045 (28) when logging in when installing mysql5.7.17 on ubuntu16.04 000 ) question