当前位置:网站首页>.user.ini文件导致的php网站安装问题
.user.ini文件导致的php网站安装问题
2022-06-25 22:02:00 【林凡尘coding】
使用脚本一键安装lnmp环境,之后安装fastadmin之后,会在public目录下生成该文件,导致我访问一直都是access denied,改了php.ini的配置,还有在nginx配置文件里面设置变量也不行。最终把.user.ini文件里面给屏蔽了就解决问题。
chattr -i .user.inirm -rf .user.ini那到底该文件有什么作用呢?
.user.ini是lnmp文件,里面放的是你网站的文件夹路径地址。目的是防止跨目录访问和文件跨目录读取.
边栏推荐
- UE4 learning record 2 adding skeleton, skin and motion animation to characters
- Hibernate entity class curd, transaction operation summary
- Analysis on the control condition and mode of go cooperation overtime exit
- Basic operator
- Ad20 learning notes I
- UE4 学习记录二 给角色添加骨架,皮肤,及运动动画
- [opencv450 samples] inpaint restores the selected region in the image using the region neighborhood
- 字符串
- Leetcode(435)——无重叠区间
- B. Box Fitting-CodeCraft-21 and Codeforces Round #711 (Div. 2)
猜你喜欢

Visual studio code create minimal web API (asp.net core)

Style setting when there is a separator in the qcombobox drop-down menu

UE4 学习记录一 创建角色,并控制其移动

首个大众可用PyTorch版AlphaFold2复现,哥大开源OpenFold,star量破千

我的vscode

CSDN add on page Jump and off page specified paragraph jump

UE4 learning records create a role and control its movement

提取系统apk

Leaky API interface practical development series (13): gooseneck cloud service php-api two-dimensional array parameter transfer solution

24class static member
随机推荐
#24class静态成员
A. Balance the Bits--Codeforces Round #712 (Div. 1)
C. Fibonacci Words-April Fools Day Contest 2021
漏刻有时API接口实战开发系列(13):小鹅通云服务PHP-API二维数组传参解决方案
Ble Low Power Bluetooth networking process and Bluetooth role introduction
[Axi] interpretation of Axi protocol disorder mechanism
C1. k-LCM (easy version)-Codeforces Round #708 (Div. 2)
[opencv450 samples] create image list yaml
CTS RTS RX TX in serial port flow control UART (direct communication between serial port module and MCU)
String object (constant) pool
软件测试面试一直挂,面试官总是说逻辑思维混乱,怎么办?
golang Make a list of intervals with sequential numbers
excel如何实现中文单词自动翻译成英文?这个公式教你了
期末复习【机器学习】
Analysis on resource leakage /goroutine leakage / memory leakage /cpu full in go
Extraction system apk
解决TypeError: Unicode-objects must be encoded before hashing
史上最简单的录屏转gif小工具LICEcap,要求不高可以试试
字符串
C. Planar Reflections-CodeCraft-21 and Codeforces Round #711 (Div. 2)