ubuntu 16.0.4LTS,MySQL,lighttpd,php,phpMyAdmin
html文件工作,php文件通过cli工作;但是,即使本地http访问任何php脚本都会向我抛出一个"403禁忌“,不管我在lighty中启用或禁用了哪些模块。
权限为664 (我需要这个而不是644)
“发光状态”显示
lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fr 2016-06-10 21:43:12 CEST; 50s ago
Process: 29194 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255)
Process: 29187 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
Main PID: 29194 (code=exited, status=255)
Jun 10 21:43:12 mysrv systemd[1]: Starting Lighttpd Daemon...
Jun 10 21:43:12 mysrv lighttpd[29187]: Syntax OK
Jun 10 21:43:12 mysrv systemd[1]: Started Lighttpd Daemon.
Jun 10 21:43:12 mysrv lighttpd[29194]: 2016-06-10 21:43:12: (network.c.537) SSL: BIO_read_filename('/etc/lighttpd/server.pem') failed
Jun 10 21:43:12 mysrv systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/n/a
Jun 10 21:43:12 mysrv systemd[1]: lighttpd.service: Unit entered failed state.
Jun 10 21:43:12 mysrv systemd[1]: lighttpd.service: Failed with result 'exit-code'
但是html文件仍然正常工作。
我有点迷惑不解的地位声称莱特不活跃,但lighty出现在"ps辅警“,它显然是工作.只是不使用php (或cgi/fpm)
这不是真正的机器,而是虚拟机,这有什么区别吗?我怀疑。
发布于 2016-06-10 20:51:50
https://askubuntu.com/questions/785449
复制相似问题