運(yùn)行valet install時(shí),出現(xiàn)了個(gè)錯(cuò)誤,訪問*.dev地址的時(shí)候都是502 Bad Gateway努咐,怎么回事啊?
? ~ valet install
Stopping nginx....
Installing nginx configuration...
Installing nginx directory...
Updating PHP configuration...
Warning: file_get_contents(/usr/local/etc/php/7.1/php-fpm.d/www.conf): failed to open stream: No such file or directory in /Users/maxdata/.composer/vendor/laravel/valet/cli/Valet/Filesystem.php on line 112
Warning: file_put_contents(/usr/local/etc/php/7.1/php-fpm.d/www.conf): failed to open stream: No such file or directory in /Users/maxdata/.composer/vendor/laravel/valet/cli/Valet/Filesystem.php on line 125
Restarting php71...
Restarting dnsmasq...
Restarting nginx...
Valet installed successfully!
#laravel valet 502 Bad Gatewaylaravel valet 502 Bad Gateway 說明:mac莫名其妙的就不能訪問了熙揍。。氏涩。届囚。。 原因可能1.php7* 服務(wù)莫名停止了...解決辦法先查看 mac ...