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

推荐订阅源

WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
Cloudbric
Cloudbric
P
Palo Alto Networks Blog
T
Threatpost
T
Tor Project blog
T
Tenable Blog
AWS News Blog
AWS News Blog
Project Zero
Project Zero
L
LangChain Blog
Cyberwarzone
Cyberwarzone
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
C
CERT Recently Published Vulnerability Notes
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Latest
Security Latest
云风的 BLOG
云风的 BLOG
I
Intezer
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Proofpoint News Feed
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
V
Vulnerabilities – Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
MongoDB | Blog
MongoDB | Blog
aimingoo的专栏
aimingoo的专栏
K
Kaspersky official blog
Jina AI
Jina AI
N
News | PayPal Newsroom
T
The Blog of Author Tim Ferriss
D
DataBreaches.Net
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Secure Thoughts
TaoSecurity Blog
TaoSecurity Blog
P
Privacy & Cybersecurity Law Blog
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
IT之家
IT之家
Forbes - Security
Forbes - Security
The Hacker News
The Hacker News
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
Y
Y Combinator Blog

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

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