mac-php Install extension make install error

Source: Internet
Author: User
Keywords Php mac

1. The problem is as shown

2. Attempt to use sudo also error:

3. The operating system is:

Ask you how to solve the technology greatly?

Reply content:

1. The problem is as shown

2. Attempt to use sudo also error:

3. The operating system is:

Ask you how to solve the technology greatly?

Turn off the Mac rootless feature.

Start and hold Command+R , enter recovery mode, open terminal , type:

csrutil disable

Enter and reboot. To re-restore, simply disable change to enable .

OSX 10.11 added the rootless function, as the name implies: to the root user lower permissions, the function is opened even if the root user or the sudo system is more important directory is not operational permissions.

MacPHPthe installation directory below is root directory, which needs to be authorized when writing, and sudo make install is used for installation.

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