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

臭大佬 2020-04-04 21:56:15 2454
php 
简介 Warning: chdir(): open_basedir restriction in effect. File(../) is not within the allowed path(s):

问题

在宝塔环境下报:
Warning: chdir(): open_basedir restriction in effect. File(../) is not within the allowed path(s):

解决

关闭防跨站攻击(open_basedir)即可!