前提:我用的是thinkphp5框架
框架根目录:D:/tjjj/
open_basedir="D:/tjjj/"; (不要设置成D:/tjjj/public/)
ps: 我是在public里放了一个.user.ini文件,从这里设置的