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
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