ispCP - Board - Support
Possible to use mod_php instead of fast-cgi? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Possible to use mod_php instead of fast-cgi? (/thread-2242.html)

Pages: 1 2 3


Possible to use mod_php instead of fast-cgi? - psygarden - 01-26-2008 03:40 AM

Is it at all possible to drop fast-cgi and use mod_php instead?

I've been having nothing but trouble with fast-cgi not ending it's processes and thus consuming all cpu in a matter of seconds...

Having a look around google makes it more than clear that this is a very common issue, and killing processes with a cronjob just doesn't cut it... things should be handled properly in the first place...

I hope to find a solution soon!

greetings,
Rik

ps. other people having the same issue as me:
http://www.isp-control.net/forum/sehr-hoher-load-t-681.html
http://www.directadmin.com/forum/showthread.php?p=121237


RE: Possible to use mod_php instead of fast-cgi? - Zothos - 01-26-2008 04:14 AM

sure...

apt-get install mod_php


RE: Possible to use mod_php instead of fast-cgi? - raphael - 01-26-2008 08:39 AM

but don't forget to a2dismod fastcgi_ispcp && a2enmod mod_php
the panel might have some problems dealing with permissions then


RE: Possible to use mod_php instead of fast-cgi? - psygarden - 01-27-2008 08:30 AM

Actually it's starting to look like i won't be needing the mod_php and will be able to work with fast-cgi/php5-cgi

I updated my php version from 5.2.0 to PHP 5.2.5-0.dotdeb.2 with Suhosin-Patch 0.9.6.2.

My tests so far seem to indicate that the problem might be fixed...
greetings
Rik


RE: Possible to use mod_php instead of fast-cgi? - abuzaind - 02-02-2008 02:49 AM

where can i find mod_php?

vps:~# apt-get install mod_php
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package mod_php


RE: Possible to use mod_php instead of fast-cgi? - gOOvER - 02-02-2008 02:57 AM

Try the search:

apt-cache search mod_php


RE: Possible to use mod_php instead of fast-cgi? - abuzaind - 02-02-2008 02:59 AM

i did search, but nothing was found


RE: Possible to use mod_php instead of fast-cgi? - rbtux - 02-02-2008 02:59 AM

libapache2-mod-php5


you also have to use prefork instead of apache2-worker...


RE: Possible to use mod_php instead of fast-cgi? - Zothos - 02-02-2008 03:40 AM

if you are using sarge, you have to add the dotdeb package sources into your sources.list.


RE: Possible to use mod_php instead of fast-cgi? - abuzaind - 02-02-2008 03:44 AM

i use etch