Php5.6 cannot be installed on ubuntu16

Source: Internet
Author: User
Ubuntu16.04-ubuntu 16 cannot install php5.6

What's going on?

Reply content:

Sudo apt install php56

Ubuntu16.04 is php 7 by default. to install php 5.x, add a third source:

Sudo apt-add-repository ppa: ondrej/php

Then, the system is installed after normal update. The php 5.6 package isPhp5.6-SuchPhp5.6-fpm. In addition, in addition to 5.6 and 7.0, 5.5 and 7.1 (beta) are all updated with the official release.

The above is the content that ubuntu16.04-ubuntu 16 cannot install php5.6. For more information, please follow the PHP Chinese network (www.php1.cn )!

Related articles

Enable php debugging mode in Ubuntu to display the error message

Install the mongodb extension command of PHP in Ubuntu

Solve the problem of ERROR 1045 (28000) when installing mysql5.7.17 on ubuntu16.04.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.