VPS侦探论坛

标题: php Server API模式怎么切换为CGI/FastCGI [打印本页]

作者: xu5343    时间: 2017-2-19 22:00
标题: php Server API模式怎么切换为CGI/FastCGI
军哥,现在用一个程序,php版本都一样,就是Server API模式不一样,程序在Server API:CGI/FastCGI,模式下可以运行,却在Server API:FPM/FastCGI 模式下运行不了,现在lnmp1.3,安装都是,Server API:FPM/FastCGI 模式,怎么更换成Server API:CGI/FastCGI模式呢?
作者: licess    时间: 2017-2-20 12:33
允许不了和sapi应该没关系

lnmp模式下最早期的php 5.2因为是非原生的是CGI/FASTCGI ,之后原生的都是fpm了
最简单的方法退回5.2
或者用php-cgi启动,自己写个的php-cgi的启动脚本




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4