Ubuntu defines apache2-worker when installing mod-wsgi, but don't uninstall
when you change to prefork.
So you can use the setup_web2py.sh script in ubuntu and after install php.
2010/1/22 Graham Dumpleton
> Apache/mod_wsgi can work with prefork, although daemon mode should be
> used to avoi
Apache/mod_wsgi can work with prefork, although daemon mode should be
used to avoid problems due to PHP requirement of prefork causing
adverse performance issues of Python web application. See:
http://blog.dscpl.com.au/2009/03/load-spikes-and-excessive-memory-usage.html
If Ubuntu only has PHP f
well, thanks by explanation.
:-)
I think my confusion is because debian/ubuntu, at 'apt-get install
libapache2-mod-wsgi', install by default apache2-worker.
I tested installing libapache2-mod-php5 after mod-wsgi, (e change to
apache2-prefork) and web2py still works
The rest is the trick to con
On Jan 20, 11:28 pm, Alexandre Andrade
wrote:
> I think is not a good idea.
>
> php requires apache2-prefork (single-thread)
> wsgi works with apache2-mpm (multi-thread)
>
> So, they are incompatible.
Nonsense.
There is no such thing as apache2-mpm so assume you mean worker MPM.
Even so, Apac
This is the best cenario, if you don't want any problems.
Is not because web2py, but because wsgi.
I tried apache mod_proxy, but I have problems too.
I good solution is a virtual server only to apache + web2py.
2010/1/20 vvk
> Our campus servers host many web-sites, so you mean if they run
This link:
http://markmail.org/message/5cgsibkoohxfh6pl
seems to say that is not a problem (although they experienced other
problems).
On Jan 20, 11:43 am, vvk wrote:
> Our campus servers host many web-sites, so you mean if they run PHP &
> apache, web2py may not give good performance ?
> Doe
Our campus servers host many web-sites, so you mean if they run PHP &
apache, web2py may not give good performance ?
Does it mean I need separate server running only apache & web2py
(mod_wsgi) ?
On Jan 20, 5:28 pm, Alexandre Andrade
wrote:
> I think is not a good idea.
>
> php requires apache2
On Jan 20, 3:12 pm, vvk wrote:
> I installed web2py with apache & mod_wsgi. My computer don't have any
> Domain Name. Another PHP project should be hosted on same machine. How
> to configure my system to run PHP and web2py at the same time?
>
> Temporarily, web2py is using http service and https
8 matches
Mail list logo