我只从源代码编译php本身,
如何生成php-cgi?
添加--enable-fastcgi并从configure脚本的参数中删除--disable-cgi ,如核心configuration选项列表中所述。
--enable-fastcgi
configure
--disable-cgi