[eluser]Max Binshtok[/eluser]
I am going mad here...
A while ago I was trying to set
Code:
set_time_limit(0);
ini_set('post_max_size', '100000');
ini_set('upload_max_filesize', '100000');
ini_set('memory_limit', -1);
ini_set('max_input_time', -1);
echo ini_get('post_max_size');
echo ini_get('upload_max_filesize');
echo ini_get('max_input_time');
echo ini_get('memory_limit');
I one of the methods of my controllers - but I KEEP getting the values set in php.ini
Now I've seen that some say it is impossible to set "upload_max_filesize" with ini_set and I have to use .htaccess - ok whatever. Maybe.
max_input_time works btw (!!!)
I already gave up on this, but now I want to issue the
Code:
ini_set('max_execution_time',-1);
echo ini_get('max_execution_time');
and if I place it inside CI (and I mean in index.php, in Controller.php, in my controllers that inherit from Controler - pretty much I tried everything) it does NOT work.
BUT if I create a file outside of CI directory and issue the same command - works like a charm.
PLEASE HELP! I am starting to go completely mad about this...