ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Hello!

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

> On 12 Jul 2011 17h19 WEST, mdounin@xxxxxxxxxx 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@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.