access denied - PHP move_uploaded_file - Ubuntu LAMP /var/www

后端 未结 3 1618
半阙折子戏
半阙折子戏 2021-01-03 08:22

I realize there is some sort of problem with permissions on either my tmp folder or the images folder I created in the /var/www folder. I know that /var/ww

3条回答
  •  感情败类
    2021-01-03 08:56

    try this: sudo chown -R 777 /var/www/images

    you need to give the file a public permission 777 OR 755 so the file can be uploaded to the specified directory its only a permission

提交回复
热议问题