MAC Upgrade PHP 7

Source: Internet
Author: User
Mac comes with PHP, but in the new system,/usr/bin became the System Protection directory, so we can not use the replacement system PHP method, this article to share is the Mac upgrade PHP 7, the need for friends can refer to

Mac comes with PHP, and this earth man knows

In the new system, it /usr/bin became the System Protection directory, so the way we used to replace the system didn't work php .

If it doesn't work, upgrade it and bring it with you. php

Curl-s http://php-osx.liip.ch/install.sh | Bash-s 7.0

vi ~/.bash_profile

Join a row

Path=/usr/local/php5/bin: $PATHexport PATH

Wait patiently, the installation will be complete.

Related recommendations:

CENTOS7 upgrade PHP version to PHP7 instance sharing

Procedures and considerations for upgrading PHP to 5.3.3 under Windows

Linux PHP53 upgrade PHP5533 linux PHP upgrade 5.5 php5.2 for Linux Linux Libphp5.s

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.