open_basedir restriction in effect. File(/) is not within the allowed path(s):

后端 未结 13 2487
醉话见心
醉话见心 2020-11-22 01:45

I\'m getting this error on an avatar upload on my site. I\'ve never gotten it before and nothing was changed recently for me to begin getting this error...

         


        
13条回答
  •  南旧
    南旧 (楼主)
    2020-11-22 02:35

    Just search

    open_basedir =

    in php.ini and disable it. That's the simplest solution to solve this issue.

    Before Changes open_basedir =

    After Changes ;open_basedir =

    P.s - After changes don't forget to restart your server.

    Enjoy ;)

提交回复
热议问题