Home  >  Article  >  Backend Development  >  Install nginx on Mac

Install nginx on Mac

WBOY
WBOYOriginal
2016-07-29 09:12:341022browse

Mac installation nginx

nginx: a high-performance HTTP and reverse proxy server...

Requires homebrew (official website address: http://brew.sh/)
Mac 安装nginx
If it prompts that the installation is successful, you can skip the following steps~
If you also get an error message: brew link pcre, please follow the steps below~
Mac 安装nginx

If the prompt is successful, re-execute: brew install nginx –build-from-source
If you still get an error like me, execute the following command~
Tip: The pkgconfig file is not writable, which means that the permissions are insufficient, so you need to increase the permissions or modify the user group ~
Before modification:
Mac 安装nginx
After modification:
Mac 安装nginx
Then re-execute the installation command
Mac 安装nginx

After the installation is complete, execute the command nginx to start
View help nginx -h

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces how to install nginx on Mac, including all aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
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