Python v PHP for web, and restarting Apache?

Michael Ströder michael at stroeder.com
Fri Nov 17 13:39:20 EST 2006


walterbyrd wrote:
> I think I have read somewhere that using Python to develop
> web-applications requires some restarting of the Apache server, whereas
> PHP does not.

Using Python to develop web-applications is a very broad topic.

E.g. you don't have to restart Apache if you develop simple
short-running CGI-BIN programs. With a long-running web app (e.g. with
FastCGI) you might only kill the web app's process etc. Or you implement
a graceful restart in your web app or...

> Also, I seem to remember reading something about PHP being able to
> recover from Apache restarting  more easily than Python.

As usual it depends.

Ciao, Michael.



More information about the Python-list mailing list