当前位置:网站首页>.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.ini
rm -rf .user.ini
那到底该文件有什么作用呢?
.user.ini是lnmp文件,里面放的是你网站的文件夹路径地址。目的是防止跨目录访问和文件跨目录读取.
边栏推荐
- 音频基础知识以及PCM转WAV
- Leetcode(605)——种花问题
- C. Planar Reflections-CodeCraft-21 and Codeforces Round #711 (Div. 2)
- 记一次beego通过go get命令后找不到bee.exe的坑
- Hibernate architecture introduction and environment construction (very detailed)
- 【AXI】解读AXI协议原子化访问
- UE4 学习记录二 给角色添加骨架,皮肤,及运动动画
- How to add cartoon characters to the blog park?
- Windows redis installation and simple use
- [2023 proofreading and bidding questions] Part 1: Measurement Technology FPGA post (roughly analytical version)
猜你喜欢
随机推荐
cookie、session、token
【opencv450 samples】创建图像列表yaml
Go language escape analysis complete record
Anaconda一文入门笔记
UE4 learning records create a role and control its movement
Technology blog site collection
漏刻有时API接口实战开发系列(13):小鹅通云服务PHP-API二维数组传参解决方案
Ble Low Power Bluetooth networking process and Bluetooth role introduction
C. Yet Another Card Deck-Educational Codeforces Round 107 (Rated for Div. 2)
Konva series tutorial 2: drawing graphics
#24class静态成员
18亿像素火星全景超高清NASA放出,非常震撼
UE4 学习记录一 创建角色,并控制其移动
Problem recording and thinking
go中全类型等值判断解析&综合汇总
Beacon realizes asset management and indoor positioning based on 5.2 ultra-low power Bluetooth module efr32 (bg22ax)
qtcreator 格式化代码
CTS RTS RX TX in serial port flow control UART (direct communication between serial port module and MCU)
Idea FAQ collection
OBS-Studio-27.2.4-Full-Installer-x64. Exe Download