我收到此错误/警告:imagejpeg - 以JPEG无法打开文件进行写入:权限被拒绝
警告:imagejpeg():无法打开 “在/ var/WWW/my_web /数据/ my_web/WWW /用户/化身/ user125.jpg”的 写:权限 /var/www/my_web/data/classes/class.Image.php否认线157
线157,有
imageJPEG($image, $this->destPath, $this->jpgQuality);
我的头像文件夹的权限设置为777,$this->destPath
是'/var/www/my_web/data/my_web/www/users/avatars/user125.jpg'
我该如何解决这个问题?
我已经编辑了答案。 – EngineerCoder
'chmod -R'做什么? – fungusanthrax