Home > Backend Development > PHP Tutorial > macos - When installing php5.6 with brew on mac, it always prompts --with-apache, but I have added it in the command line. Why does the installation always fail?

macos - When installing php5.6 with brew on mac, it always prompts --with-apache, but I have added it in the command line. Why does the installation always fail?

WBOY
Release: 2023-03-02 07:08:02
Original
1379 people have browsed it

macos - When installing php5.6 with brew on mac, it always prompts --with-apache, but I have added it in the command line. Why does the installation always fail?

macos - When installing php5.6 with brew on mac, it always prompts --with-apache, but I have added it in the command line. Why does the installation always fail?

macos - When installing php5.6 with brew on mac, it always prompts --with-apache, but I have added it in the command line. Why does the installation always fail?

I get this problem every time I install it, no matter what command I use

The commands I have used include these, and they all reported this kind of problem

brew install php56

brew install php56 --with-apache

brew install php56 --with-apache --with-pear

There are also commands in the picture, all reporting the same problem

Although the installation failed, httpd24 will also be installed in the Cellor directory, causing the built-in Apache to be unusable. httpd24 must be uninstalled before the built-in apache can return to normal

macos - When installing php5.6 with brew on mac, it always prompts --with-apache, but I have added it in the command line. Why does the installation always fail?

I have installed all the plug-ins

moc system is 10.12

Please give me some advice on how to install php56 and how to solve my current problem?

Reply content:

macos - When installing php5.6 with brew on mac, it always prompts --with-apache, but I have added it in the command line. Why does the installation always fail?

macos - When installing php5.6 with brew on mac, it always prompts --with-apache, but I have added it in the command line. Why does the installation always fail?

macos - When installing php5.6 with brew on mac, it always prompts --with-apache, but I have added it in the command line. Why does the installation always fail?

I get this problem every time I install it, no matter what command I use

The commands I have used include these, and they all reported this kind of problem

brew install php56

brew install php56 --with-apache

brew install php56 --with-apache --with-pear

There are also commands in the picture, all reporting the same problem

Although the installation failed, httpd24 will also be installed in the Cellor directory, causing the built-in Apache to be unusable. httpd24 must be uninstalled before the built-in apache can return to normal

macos - When installing php5.6 with brew on mac, it always prompts --with-apache, but I have added it in the command line. Why does the installation always fail?

I have installed all the plug-ins

moc system is 10.12

Please give me some advice on how to install php56 and how to solve my current problem?

Judging from its prompt:

See brew options php56 for more details

When you need to run it

<code>brew options php56                 #查看php5.6安装选项</code>
Copy after login

See if there is an option for this apache.
If you really don’t have it, just go to the official website and download the source code and compile it yourself. .

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template