i have following problem...
i have a webapplication and i want to use
register_argc_argv
in my php.ini it is turned off
Directive Local Value Master Value
register_argc_argv Off Off
now the problem is, i can't access the php.ini file directly because its on a hosted sever. and actually even if i could, i don't want to turn on the master value.
in my index.php
the first rows are:
<?php
# Config
require_once( "php/config.php" );
// some more of my source
?>
in the config.php my source starts like this:
<?php
ini_set( "register_argc_argv", "1" );
ini_set( "display_errors", "1" );
ini_set( "display_startup_errors", "1" );
// some more of my source
?>
but it won't turn on.
Question:
Am i doing something wrong ?
Is there a solution for this?
Could this be blocked by provider ?
What i have tried:
- ini_set( "register_argc_argv", "1" );
- ini_set( "register_argc_argv", 1 );
- ini_set( "register_argc_argv", "On" );
- ini_set( "register_argc_argv", true );
And no PHP: How to override register_argc_argv? is not a dublicate because
- this answere doesn't work for me
- you see my first line and there is nothing executed befor