Blogger Information
Blog 2
fans 0
comment 0
visits 4833
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
PHP mkdir() Permission denied 文件权限不足解决办法
Hanael的博客
Original
4081 people have browsed it

环境:

  • 本地使:windows10
  • 服务端:Centos7

问题:

  • 在本地使用时没有问题,在服务器上运行的时候报错
  1. mkdir(): Permission denied

解决:

该问题是使用文件操作时权限不够,需要给操作的文件夹的父级文件夹赋予权限

  1. chmod -R 777 xxxx(操作文件夹)
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post