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

推荐订阅源

S
Security Affairs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Jina AI
Jina AI
P
Palo Alto Networks Blog
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
A
Arctic Wolf
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
Blog — PlanetScale
Blog — PlanetScale
S
Schneier on Security
V
Vulnerabilities – Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
雷峰网
雷峰网
T
Tenable Blog
人人都是产品经理
人人都是产品经理
T
Tor Project blog
C
Cyber Attacks, Cyber Crime and Cyber Security
AWS News Blog
AWS News Blog
Microsoft Security Blog
Microsoft Security Blog
J
Java Code Geeks
Scott Helme
Scott Helme
SecWiki News
SecWiki News
C
CERT Recently Published Vulnerability Notes
Recorded Future
Recorded Future
I
InfoQ
Security Archives - TechRepublic
Security Archives - TechRepublic
Help Net Security
Help Net Security
Cloudbric
Cloudbric
C
Check Point Blog
Engineering at Meta
Engineering at Meta
TaoSecurity Blog
TaoSecurity Blog
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
N
News and Events Feed by Topic
云风的 BLOG
云风的 BLOG
MyScale Blog
MyScale Blog
腾讯CDC
量子位
Application and Cybersecurity Blog
Application and Cybersecurity Blog
K
Kaspersky official blog
Vercel News
Vercel News
F
Full Disclosure
T
Troy Hunt's Blog
Forbes - Security
Forbes - Security
S
Security @ Cisco Blogs

Lnmp on 老刘博客

暂无文章

用lnmp安装thinkphp类的程序,文件夹没有权限
老刘 · 2023-04-06 · via Lnmp 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

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