Home > Backend Development > PHP Tutorial > Solution to 403 error when Lighttpd uses PHP. What is lighttpd? Restart lighttpd 1.5

Solution to 403 error when Lighttpd uses PHP. What is lighttpd? Restart lighttpd 1.5

WBOY
Release: 2016-07-29 08:54:50
Original
2511 people have browsed it

After installing Lighttpd on Ubuntu, create the index.php file for testing under /var/www/, and access always displays 403 forbidden. After searching, I found the following solution:

apt-get install php5-cgi
lighttpd-enable-mod fastcgi fastcgi-php
/etc/init.d/lighttpd force-reload

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the solution to the 403 error when Lighttpd uses PHP, including the content of lighttpd. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template