move_uploaded_file failed to open stream and Permission denied error

前端 未结 3 1423
小鲜肉
小鲜肉 2020-12-18 09:35

i\'m trying to upload a file but i\'m getting this following errors in my browser:

Warning  move_uploaded_file(public/upload/udesignwptheme138.zip) [functio         


        
相关标签:
3条回答
  • 2020-12-18 09:41

    Maybe you can consider changing the upload folder chmod 755 or 777

    chmod 777 folder_path 
    

    By this we are setting read. write and execute privilege for owner, group as well as others.

    0 讨论(0)
  • 2020-12-18 09:44

    Do not change the folder path

    chmod -R 777 /home/monivbr/public_html/classes/system/Util.php
    
    0 讨论(0)
  • 2020-12-18 09:50

    Its because of the you dont have the sufficient permission on the Folder. Change this permission to read and write. That's all !

    0 讨论(0)
提交回复
热议问题