惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
NISL@THU
NISL@THU
E
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
K
Kaspersky official blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
S
Schneier on Security
G
GRAHAM CLULEY
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
爱范儿
爱范儿
P
Privacy International News Feed
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
S
Securelist
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
美团技术团队
F
Fortinet All Blogs
小众软件
小众软件
Recorded Future
Recorded Future
V
Visual Studio Blog
B
Blog RSS Feed
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
Latest news
Latest news
Spread Privacy
Spread Privacy
H
Heimdal Security Blog

Crmeb on 老刘博客

crmeb商城后台标题修改方法
用lnmp安装thinkphp类的程序,文件夹没有权限
老刘 · 2023-04-06 · via Crmeb on 老刘博客

前几天在安装CRMEB商城的时候,由于不想再用宝塔了,先是选择oneinstack,但是会有一些问题,比如,用www用户无法在终端运行php等。后来就使用军哥开发的lnmp。却又碰到了一个问题,那就是所有的文件夹,在设置玩读写权限后,依然之后public这个文件夹有读写的权限。这就很郁闷了,难道最终还必须上宝塔?

xxx

网上搜了一些教程,都是解决不了问题的。后来还是在lnmp.org的网站上找到了答案,感觉应该是设置了防跨站引起的,但是当时我已经把 .user.ini给删除了,看了那篇文章后才发现,光删除文件还不够,还需要在nginx的配置中进行设置。不过一个最简单的方法是,lnmp的开发者已经想到了这个问题,可以用lnmp自带的小工具脚本来解决。

解决方法:

打开终端软件,连上服务器。

cd lnmp1.9
cd tools
./remove_open_basedir_restriction.sh

结束,再安装,权限一点问题都没有了。