我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何在nginx中使用AllowOverride?

I'm testing a website that was made on apache with lavavel in php. I'm setting it up on nginx now but I'm getting 500 errors on all the subpages, I was told to use AllowOverride but I dont know how to use it on nginx.

There is no alternative for AllowOverride in nginx.

Also, make sure you have installed the PHP handler php5-fpm in order to process PHP scripts.

近期文章

  • 更改图像onmouseover和onmouseout
  • 继承PHP PDO类是一种好习惯
  • 将jquery变量发送回PHP并在mySQL中使用
  • 使用第一个中的变量重定向到另一个页面
  • 我希望PHP中的字符串中的文本和数字部分
  • 我是否必须在移动设备上使用不同的PHP?
  • 在静态方法中不在对象上下文中时使用$ this
  • 将一系列PHP变量转换为JSON对象
  • 在PHP中寻找等效的JavaScript数学代码
  • 为什么:警告:printf():第59行的参数太少
  • 在Magento的Mage_Sales_Model_Quote_Item_Abstract中获得价格函数的不同之处是什么?
  • 表观语法错误
  • 转换日期PHP [重复]
  • php mysqli数据库连接失败?
  • 使用php检查URL以获取信息
  • 从MYSQL中选择的PHP HTML选择框
  • 将数组传递给sql查询无法正常工作[重复]
  • CakePHP:Auth组件未登录
  • PHP使用STRPOS在CLASS中查找部分值
  • array_filter没有带有false值的strip键

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华