In macos-mac, when php5.6 is installed in brew, it always prompts -- with-apache, but I have added it in the command line. why is the installation always failed?

Source: Internet
Author: User
This problem is reported every installation, no matter what commands I use, are reported such a problem brewinstallphp56brewinstallphp56 -- with-apachebrewinstallphp56 -- with-apache -- with-pear and the command on the graph ,...

This problem is reported every installation, no matter what command I use

I have used these commands to report such problems.

Brew install php56

Brew install php56 -- with-apache

Brew install php56 -- with-apache -- with-pear

The same problem is reported for all the commands shown in the figure.

Although the installation fails, httpd24 will be installed in the Cellor Directory. as a result, the built-in Apache cannot be used. httpd24 must be uninstalled and the built-in apache can be restored to normal.

I have installed all the plug-ins.

The moc system is 10.12

How can I solve my current problem by installing php56?

Reply content:

This problem is reported every installation, no matter what command I use

I have used these commands to report such problems.

Brew install php56

Brew install php56 -- with-apache

Brew install php56 -- with-apache -- with-pear

The same problem is reported for all the commands shown in the figure.

Although the installation fails, httpd24 will be installed in the Cellor Directory. as a result, the built-in Apache cannot be used. httpd24 must be uninstalled and the built-in apache can be restored to normal.

I have installed all the plug-ins.

The moc system is 10.12

How can I solve my current problem by installing php56?

From its prompt, we can see:

See brew options php56 for more details

Run

Brew options php56 # View php5.6 installation options

Check whether there is any suchapache.
If not, download the source code from the official website and compile it ..

Related Article

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.