Welcome! Log In Create A New Profile

Advanced

Re: Question about install support for python and php together

Joshua Jonah
May 06, 2010 09:46AM
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@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Question about install support for python and php together

sagasw May 05, 2010 11:22PM

Re: Question about install support for python and php together

Joshua Jonah May 06, 2010 09:46AM

Re: Question about install support for python and php together

Phillip Oldham May 07, 2010 04:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 201
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready