Welcome! Log In Create A New Profile

Advanced

How to read custom fastcgi_param PHP VALUE from php script?

Posted by Mantonio 
How to read custom fastcgi_param PHP VALUE from php script?
February 28, 2013 08:20PM
Hello,

i feel kinda helpless as i cannot figure out how to read my php.ini default overrides from within a php script.

I incresed the post_max_size and upload_max_filesize variables using

fastcgi_param PHP_VALUE "post_max_size = 15M";
fastcgi_param PHP_VALUE "upload_max_filesize = 5M";

and tried to fetch the custom values via ini_get(). But the returned values are the php.ini defaults (8M and 2M).

Somebody can enlighten me, please ?

Regards...



Edited 1 time(s). Last edit at 02/28/2013 08:22PM by Mantonio.
Re: How to read custom fastcgi_param PHP VALUE from php script?
March 01, 2013 07:04PM
Really nobody?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready