简体   繁体   中英

Lighttpd php gets error 500?

每当我尝试在我的iPhone上使用带有lighttpd的php时,加载包含phpinfo.php文件的任何php页面时,都会出现错误500。

Go to Cydia and install the PHP Hypertext processor package. PHP does not get installed by default.

错误日志的位置取决于您的操作系统,如果您输入控制台“ uname -a”,它应该告诉您所使用的内容,并取决于您可以Google查找错误日志的确切位置。

Are you sure you have fastcgi working properly? You will get a 500 error if lightppd can't connect to PHP.....

Add this to your config:

fastcgi.debug = 1

And maybe let us see your fastcgi.server settings.

Did you port lighttpd for the iPhone yourself?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM