让我声明一下,我是FastCGI的新手。我的OSX机器上有MAMP的Apache。默认PHP处理程序是ApacheHandler2.0(libphp5.so)。我想更改为FastCGI并遵循此处的答案:HowtoconfigureApachetorunPHPasFastCGIonUbuntu12.04viaterminal?我在httpd.conf的末尾添加了以下内容:AddHandlerphp5.fcgi.phpActionphp5.fcgi/php5.fcgiAlias/php5.fcgi/Applications/MAMP/fcgi-bin/php5.fcgiFastCgiSer