location ~ \.php(.*)$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $1; include fastcgi_params; }
The above is the detailed content of Detailed explanation of how to use homebrew to install lnmp on mac. For more information, please follow other related articles on the PHP Chinese website!