prepend a php script in all requests

Francis Daly francis at daoine.org
Thu Sep 25 21:28:46 UTC 2014


On Thu, Sep 25, 2014 at 12:05:30PM -0600, Alex Flex wrote:

Hi there,

> Once i have nginx installed with php fastcgi. Is it possible to
> preppend a php script to be executed when serving any request?
> (similar to apache prepend function).

That sounds like it should be a feature of your fastcgi server or your
php runtime, rather than nginx.

I suggest searching for "fastcgi prepend" or "php prepend" in your
favourite search engine.

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list