Custom settings with PHP

locojohn nginx-forum at nginx.us
Tue Jul 12 18:40:41 MSD 2011


> Hmm, never tried that, using a variable. Don't
> know if the $ needs to
> be escaped.
> 
> You'll have to try it. 

Of course I tried both:

fastcgi_param PHP_VALUE "include_path=${include_path}:/my/other/path";

and

fastcgi_param PHP_VALUE "include_path=\${include_path}:/my/other/path";

and neither works, hence I wrote here.

Andrejs

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,22556,212285#msg-212285




More information about the nginx mailing list