首页 > 编程语言 >php7.4.32报错“PHP message: PHP Deprecated: Directive 'allow_url_include' is deprecated in U

php7.4.32报错“PHP message: PHP Deprecated: Directive 'allow_url_include' is deprecated in U

时间:2022-10-23 19:58:24浏览次数:57  
标签:PHP Directive url 报错 allow include

  如题,php7.4.32的版本下,在php.ini中打开allow_url_include会报错:

NOTICE: PHP message: PHP Deprecated:  Directive 'allow_url_include' is deprecated in Unknown on line 0
<br />
<b>Deprecated</b>:  Directive 'allow_url_include' is deprecated in <b>Unknown</b> on line <b>0</b><br />

  

  通过报错知allow_url_include是一条废弃的指令,通过查询php官网,该指令在php7.4起废弃:

 

 所以,只能重新把allow_url_include改为off。

标签:PHP,Directive,url,报错,allow,include
From: https://www.cnblogs.com/brilliantHongXi/p/16819283.html

相关文章