Welcome! Log In Create A New Profile

Advanced

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

Maxim Dounin
July 12, 2011 01:54PM
Hello!

On Tue, Jul 12, 2011 at 06:00:12PM +0100, perusio@gmail.com wrote:

> On 12 Jul 2011 17h19 WEST, mdounin@mdounin.ru wrote:
>
> I'm reposting this in English. Translating the Russian generated by
> google translate back to English reveals a complete mess.
>
> I'm sorry for imposing my limitations (nil Russian language skills :()
> on everyone else here. I know it's rude.
>
> > geo $x {
> > default "${include_path}:/my/other/include/path";
> > }
>
> I don't think Maxim suggestion will work, because include_path is a
> runtime parameter, not a regular variable. It must be accessed using
> ini_get('include_path') and set via ini_set.

It will work in sense "nginx will pass this string as is to php",
i.e. the ugly hack in question solves the problem "how to escape
'$' and avoid it being interpretted as nginx variable start".

I've never claimed this will do something sensible on php side
(and even explicitly stated this referring to your reply while
re-posting this answer on english list, see [1]).

[1] http://nginx.org/pipermail/nginx/2011-July/027907.html

Maxim Dounin

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

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

Валентин Бартенев July 12, 2011 11:02AM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

locojohn July 12, 2011 11:58AM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

Maxim Dounin July 12, 2011 12:20PM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

Anonymous User July 12, 2011 12:38PM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

Anonymous User July 12, 2011 01:02PM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

Maxim Dounin July 12, 2011 01:54PM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

locojohn July 12, 2011 09:11PM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

Anonymous User July 13, 2011 12:16AM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

locojohn July 13, 2011 05:57AM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

António P. P. Almeida July 13, 2011 11:00AM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

locojohn July 13, 2011 12:12PM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

locojohn July 13, 2011 12:30PM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

António P. P. Almeida July 13, 2011 02:20PM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

António P. P. Almeida July 13, 2011 02:26PM

Re: интерпретация переменных внутри PHP VALUE и PHP ADMIN VALUE для PHP-FPM

locojohn July 15, 2011 06:59PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
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