Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问这个报错是为什么? #32

Open
suzijia opened this issue Apr 20, 2021 · 1 comment
Open

请问这个报错是为什么? #32

suzijia opened this issue Apr 20, 2021 · 1 comment

Comments

@suzijia
Copy link

suzijia commented Apr 20, 2021

Unknown: open_basedir restriction in effect. File(/var/tmp/) is not within the allowed path(s): (/Users/suzijia/nong/meiupic/:/tmp/:/proc/) in Unknown on line 0

@lepig
Copy link

lepig commented Apr 23, 2021

可以看看这篇文章。https://segmentfault.com/a/1190000007942002

根本原因在于你的/var/tmp目录不再php允许的读取范围内。

搜索关键词‘防跨站攻击’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants