Mac Nginx+PHP 56

发布于 2017-04-26 / Mac / 0条评论 / 1,005浏览

Mac Nginx+PHP 56

安装

brew install homebrew/php/php56-amqp

启动

brew services start homebrew/php/php56

Nginx配置

location ~ \.php$ {
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            include        fastcgi_params;
}
评论
站长统计