Welcome! Log In Create A New Profile

Advanced

Re: Custom settings with PHP

July 12, 2011 09:42AM
On 09/07/2011 23:59, locojohn wrote:
> Igor Sysoev Wrote:
> -------------------------------------------------------
>> On Fri, Jun 18, 2010 at 08:23:16AM -0400, jbruni
>> wrote:
>>
>>> [b][color=#FF0000]UPDATE[/color][/b]
>>>
>>> Now, it is possible to do this way:
>>>
>>> [code]
>>> fastcgi_param PHP_VALUE
>> "upload_max_filesize=5M";
>>> [/code]
>>>
>>> More information here:
>>> http://bugs.php.net/bug.php?id=51595
>>>
> Igor, how about using the current values of PHP_INI* variables inside
> the definition e.g.:
>
>
This is impossible. Think about what nginx does - It matches filenames
to a mask and passes the request using CGI to the port defined on a match.

There is no reason why Nginx should know the CGI server is php (It is
only convention that php files end in .php) and no reason why it should
be php
either - it might be Ruby, Python, Erlang, or anything else you might
use. Further there is no way it can determine which php.ini file it
would have to read even if it could know it was a php configuration it
had to find.

Ian





_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Custom settings with PHP

Life Hunter November 13, 2009 08:26AM

Re: Custom settings with PHP

Micha Glave November 13, 2009 09:06AM

Re: Custom settings with PHP

kyleb November 14, 2009 11:59AM

Re: Custom settings with PHP

mike November 14, 2009 12:36PM

Re: Custom settings with PHP

jbruni June 18, 2010 08:23AM

Re: Custom settings with PHP

Igor Sysoev June 18, 2010 08:36AM

Re: Custom settings with PHP

Jérôme Loyet June 18, 2010 09:06AM

Re: Custom settings with PHP

mike June 18, 2010 12:22PM

Re: Custom settings with PHP

Igor Sysoev June 18, 2010 12:26PM

Re: Custom settings with PHP

mike June 18, 2010 12:42PM

Re: Custom settings with PHP

Jérôme Loyet June 18, 2010 01:08PM

Re: Custom settings with PHP

mike June 18, 2010 02:00PM

Re: Custom settings with PHP

Jérôme Loyet June 18, 2010 02:18PM

Re: Custom settings with PHP

mike June 18, 2010 02:22PM

Re: Custom settings with PHP

locojohn July 09, 2011 06:59PM

Re: Custom settings with PHP

hobson42 July 12, 2011 09:42AM

Re: Custom settings with PHP

locojohn July 12, 2011 09:54AM

Re: Custom settings with PHP

António P. P. Almeida July 12, 2011 10:26AM

Re: Custom settings with PHP

António P. P. Almeida July 12, 2011 10:38AM

Re: Custom settings with PHP

locojohn July 12, 2011 10:40AM

Re: Custom settings with PHP

António P. P. Almeida July 12, 2011 11:02AM

Re: Custom settings with PHP

Maxim Dounin July 12, 2011 12:38PM

Re: Custom settings with PHP

locojohn July 12, 2011 09:47PM

Re: Custom settings with PHP

locojohn January 20, 2015 08:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready