lighttpd 访问php 403 forbidden解决方案
来源:互联网 发布:寻求网络销售团队合作 编辑:程序博客网 时间:2024/05/17 06:32
每次在安装完lighttpd后,总是出现php页面无法访问的情况,显示403 forbidden。
其实造成这种情况的原因很多,
1. linux下www目录的访问权限不够,造成程序无法访问。使用chmod -R 777 /你的www路径。
2.在终端输入命令
ln -s /etc/lighttpd/conf-available/15-fastcgi-php.conf /etc/lighttpd/conf-enabled/
然后输入
sudo service lighttpd reload
搞定!
0 0
- lighttpd 访问php 403 forbidden解决方案
- Lighttpd使用PHP 出现403错误解决方案
- yii2 gii Forbidden (#403)解决方案
- WAMP 403 Forbidden禁止访问
- Apache访问index.html总是出现403 Forbidden错误的解决方案
- Okhttp+Retrofit下访问百度音乐api出现403 forbidden的解决方案
- nginx+php-fpm 403 forbidden
- nginx报错:403 Forbidden 并且访问首页index.php是下载文件的状态
- lighttpd+php
- http/1.1 403 access Forbidden错误解决方案
- http/1.1 403 access Forbidden错误解决方案
- centos7 下 phpmyadmin 出现403 forbidden解决方案
- wamp WAMP 403 Forbidden禁止访问
- Apache访问localhost页面403Forbidden
- nginx访问报错403 is forbidden
- axis2.AxisFault: Transport error: 403 Error: Forbidden 解决方案
- urllib2中碰到HTTPError: HTTP Error 403: Forbidden的解决方案
- nginx 403 forbidden 解决方案之目录权限与文件权限
- 项目1(拓展)--矩形类
- 安装samba,出现perl(Convert::ASN1) is needed by samba……问题的解决方法
- 第五周项目一三角形类1
- android 在onCreate中获取空间宽高
- Redhat Linux telnet服务安装配置
- lighttpd 访问php 403 forbidden解决方案
- 教你透彻了解红黑树
- Bluetooth蓝牙设备配对 - 常见问题解答
- 蓝桥杯软件大赛题目集锦之编程大题
- Redhat使用了SELinux来增强安全
- 关于电机
- 第二周作业2
- 为什么我的电脑很卡呢
- 字符串流 istringstream ostringstream stringstream