ini_set not working

后端 未结 6 498
北恋
北恋 2021-01-07 20:25

Here is the matter:

ini_set(\'display_errors\', \'1\');
ini_set(\'safe_mode\', \'0\');
ini_set(\'allow_url_fopen\', \'1\');
ini_set(\'allow_url_include\', \'1\');         


        
6条回答
  •  失恋的感觉
    2021-01-07 21:04

    These variables cannot be changed within a user script. The access value means:

    PHP_INI_SYSTEM    4          Entry can be set in php.ini or httpd.conf  
    

    You can try to set it in .htaccess:

    php_value  allow_url_include 1
    

提交回复
热议问题