Current time: 11-24-2024, 01:35 AM Hello There, Guest! (LoginRegister)


Post Reply 
Possible to use mod_php instead of fast-cgi?
Author Message
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #1
Possible to use mod_php instead of fast-cgi?
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-ho...t-681.html
http://www.directadmin.com/forum/showthr...p?p=121237
(This post was last modified: 01-26-2008 03:43 AM by psygarden.)
01-26-2008 03:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #2
RE: Possible to use mod_php instead of fast-cgi?
sure...

apt-get install mod_php
01-26-2008 04:14 AM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #3
RE: Possible to use mod_php instead of fast-cgi?
but don't forget to a2dismod fastcgi_ispcp && a2enmod mod_php
the panel might have some problems dealing with permissions then
01-26-2008 08:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #4
RE: Possible to use mod_php instead of fast-cgi?
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
01-27-2008 08:30 AM
Visit this user's website Find all posts by this user Quote this message in a reply
abuzaind Offline
Junior Member
*

Posts: 34
Joined: Jan 2008
Reputation: 0
Post: #5
RE: Possible to use mod_php instead of fast-cgi?
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
02-02-2008 02:49 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #6
RE: Possible to use mod_php instead of fast-cgi?
Try the search:

apt-cache search mod_php
02-02-2008 02:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
abuzaind Offline
Junior Member
*

Posts: 34
Joined: Jan 2008
Reputation: 0
Post: #7
RE: Possible to use mod_php instead of fast-cgi?
i did search, but nothing was found
02-02-2008 02:59 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #8
RE: Possible to use mod_php instead of fast-cgi?
libapache2-mod-php5


you also have to use prefork instead of apache2-worker...
02-02-2008 02:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #9
RE: Possible to use mod_php instead of fast-cgi?
if you are using sarge, you have to add the dotdeb package sources into your sources.list.
02-02-2008 03:40 AM
Find all posts by this user Quote this message in a reply
abuzaind Offline
Junior Member
*

Posts: 34
Joined: Jan 2008
Reputation: 0
Post: #10
RE: Possible to use mod_php instead of fast-cgi?
i use etch
02-02-2008 03:44 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)