a new uWSGI PHP plugin is available

Roberto De Ioris roberto at unbit.it
Fri Feb 24 11:15:24 UTC 2012


> On 2012-02-24 17:46, Roberto De Ioris wrote:
>> Be sure to fully rebuild (do a make clean) uWSGI if you have added
>> devel packages during php_plugin compilation as they can modify CFLAGS
>> setup
>
> Thank you, it's working fine now. The DOCUMENT_ROOT (or something else)
> doesn't seem to be passed properly though? I get "Not Found" (uwsgi's?)
> unless I start uwsgi with --php-docroot parameter. I'm following "Run
> php apps with nginx as frontend" chapter of the wiki.
>
>

you are right, there is a missing variable assignment for docroot, i have
released a new snapshot (snapshot5) or you can use the latest tip.

Obviously i suggest you to always list allowed docroots in uWSGI for
increasing security.

-- 
Roberto De Ioris
http://unbit.it



More information about the nginx mailing list