sudo chmod 777 /var/www/html/项目/picture 修改某个目录的权限可以让PHP读写
其中sudo chmod 777为命令的固定格式, /var/www/html/ 为需要读写权限的绝对路径。