Question about install support for python and php together
Joshua Jonah
josh at collabrestate.com
Thu May 6 14:06:39 MSD 2010
The problem is that FCGI is a bag of crap and anything non-thread safe
will usually crash it. You either have a babysit it with something like
Monit, or use something more modern like uWSGI or Gunicorn. uWSGI is a
wsgi server written in C and needs to be compiled as well as requires a
compiled version of Nginx, although this is recommended anyway because
the Debian Aptitude version of Nginx is so damn old. Gunicorn is a 100%
wsgi server and shares many of the same benefits as uWSGI, but has not
been as fast in my tests. Either of these, your app will be the slow
part, not the wsgi server so it doesn't matter.
Hope this helps.
On 05/05/10 11:17 PM, sagasw wrote:
> I get a vps host and install php already with spawn-fcgi.
> And you could see my steps here:
> http://sunxiunan.com/?p=1618
>
> Now I want to add support python (web.py) in this host,
> http://webpy.org/cookbook/fastcgi-nginx
> and try the steps in web.py, but can't work correct.
> just get
> spawn-fcgi: child exited with: 2
>
> Who could tell me the steps I should do?
>
> Many thanks,
>
> sagasw
>
> ------------------------------------------
> blog: http://sunxiunan.com/
> C++, Lua, living in Dalian
> http://twitter.com/sagasw
> http://t.qq.com/sagasw
> ------------------------------------------
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100506/ca548b55/attachment.html>
More information about the nginx
mailing list