简体   繁体   中英

500 - Internal Server Error with lighttpd

I have a VPS with CentOS 5.8 (Final) and when I use lighttpd as my webserver instead of apache I get this error: "500 - Internal Server Error" (I'm trying to install WordPress and I get this error when I try to access my site; the error doesn't appear at all when I try to access other .html pages). If I switch back to apache then the error disappears and everything is fine. Why does this happen? I prefer use lighttpd because it uses less memory.

I also created a file names "phpinfo.php" and uploaded it to my server. When I access it, I get the same "500 - Internal Server Error", so from what I know, this would mean that my lighttpd isn't working properly, right? How can I solved this problem?

You did not properly configure lighttpd to run your PHP, or your PHP is failing. You might not have installed php-cgi.

In any case, your question is poorly written. See How to get help

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