To configure vim /usr/local/etc/nginx/nfĪfter nginx is installed, access the local directory. Through homebrew, the nginx file is installed in / usr/local/etc/nginx/nf by default, and then type in the browser, you can access the welcome interface of nginx. If you change the configuration, you need to restart php brew services restart php As a result, the installation is successful PHP runs phpize, and PHP configures ls PHP FPM location is / whether the installation is successful lsof -Pni4 | grep LISTEN | grep php nf is located at / usr/local/etc/php/7.4/nf The php.ini location is / usr/local/etc/php/7.4/php.ini The configuration files generated after installation are in / usr/local/etc/php/7.4 directory, as follows: Then you can uninstall php5.5 under the current system brew unlink php55 Install, but the build may fail or cause obscure side-effects in the Link the formula again after the install finishes. Unlinking removes a formula's symlinks from /usr/local. That is, your system has installed php5.5 Please `brew unlink php55` before continuing. Php55: because different php versions install the same binaries. Don't panic ➜ ~ brew install Installing php74 from homebrew/phpĮrror: Cannot install homebrew/php/php74 because conflicting formulae are installed. In order to install the latest configuration, we upgrade brew in advance brew updateīrew install your system has installed other versions, the error may be as follows. Official address: $ /bin/bash -c "$(curl -fsSL )" Official one click installation, very simple! Brew is as convenient and simple for MacOS as apt for Ubuntu. The integration software MxSrvs used in the company's development environment is also very easy to use.īut I still want to learn the native installation method under mac, resolutely give up the one click installation package and start tossing. After using it for a period of time, I felt that the landline at home was tasteless and decided to start a NUC. The company installed a black apple for the NUC. First of all, a digression, the black apple of NUC is really fragrant!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |