file_exists:open_basedir限制有效文件/ usr / bin / ffprobe不在允许的路径内

问题描述

在此路径/usr/local/php73/lib/php.ini中更改php.ini中的open_basedir的值后

/home/admin/:/tmp/:/var/tmp/:/opt/alt/php73/usr/share/pear/:/dev/urandom:/usr/local/php73/lib/:/usr/local/php73/lib/:/usr/local/lib/php/:/usr/bin/ffprobe/:/usr/bin/ffmpeg/  

它仍然不起作用,我试图在浏览器中显示php.ini,以检查是否进行了这些更改,我发现它尚未添加到ini配置中。我看到了其他conf的更改,例如memory_limit更改其值后,但open_basedir不更新。如何解决?

解决方法

您必须重新启动服务器才能查看php.ini的更新

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...