fex-team / fis3

FIS3
http://fis.baidu.com
BSD 2-Clause "Simplified" License
2.79k stars 694 forks source link

checking php-cgi support : unsupported php-cgi environment #972

Open hzwyk61 opened 7 years ago

hzwyk61 commented 7 years ago

checking php-cgi support : unsupported php-cgi environment

[ERROR] fail to start server.

php-cgi is required.

npm ERR! Darwin 15.6.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/bin/npm-cli.js" "run-script" "start" npm ERR! node v6.1.0 npm ERR! npm v3.8.6 npm ERR! code ELIFECYCLE npm ERR! front-end-of-ssp-system@0.4.3 start: fst dev --base src npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the front-end-of-ssp-system@0.4.3 start script 'fst dev --base src'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the front-end-of-ssp-system package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! fst dev --base src npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs front-end-of-ssp-system npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls front-end-of-ssp-system npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/saber/Desktop/Pan/SSP/npm-debug.log

Process finished with exit code 1 求大神解答啊

oxUnd commented 7 years ago

提示你 php-cgi 没有,你装一下即可。

fanerge commented 7 years ago

我是前端的,请问php-cgi怎么安装啊?

AdamWei1992 commented 5 years ago

我也遇到同样问题,怎么办?

lishichao1002 commented 4 years ago
ididi_demo01 didi3 server start

 [INFO] Currently running didi3 (/usr/local/lib/node_modules/@didi/didi3/node_modules/fis3/)
checking php-cgi support : unsupported php-cgi environment

 [ERROR] fail to start server.

 `php-cgi` is required.
➜  ididi_demo01 PHP -v
PHP 7.1.23 (cli) (built: Feb 22 2019 22:19:32) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies