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

It's hard to argue with the government. Remember, they run the Bureau of Alcohol, Tobacco and Firearms, so they must know a thing or two about satisfying women.
(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
Administrator
*******
Administrators

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

apt-get install mod_php

Real programmers don't comment their code - it was hard to write, it should be hard to understand

OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd

No Support via PM - Payed Support via request
01-26-2008 04:14 AM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
****
Dev Team

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

YaHost Me | Text Link Ads | my Debian repository | Donate! | No OOXML! | Project HoneyPot | ... and more
Quote:This is Linux land. In silent nights you can hear the Windows machines rebooting.
If you want to be helped, don't PM me but post in the forums | If you want private support PM me and we'll discuss the price
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

It's hard to argue with the government. Remember, they run the Bureau of Alcohol, Tobacco and Firearms, so they must know a thing or two about satisfying women.
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 Online
Documentation Team
***
Docu Team

Posts: 1,697
Joined: Jul 2007
Reputation: 15
Post: #6
RE: Possible to use mod_php instead of fast-cgi?
Try the search:

apt-cache search mod_php

Server : Root
OS : Debian 5.0 Lenny 64bit
ispCP Version : r1456 - 08.01.09 (NightlyBuild)
Activated : AWStats dynamic
Mods : update via NightlyUpdateScript 0.4a
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
Member
***

Posts: 1,236
Joined: Feb 2007
Reputation: 22
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...

OS: Debian Lenny
ispCP Version: Trunk r1033
Activated: AWStats dynamic, Dovecot, Avelsieve, Selective Greylisting, Bogus MX Filter,
No Webtools, Roundcube, Some own modifications
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
Administrator
*******
Administrators

Posts: 754
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.

Real programmers don't comment their code - it was hard to write, it should be hard to understand

OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd

No Support via PM - Payed Support via request
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:


| All rights reserved : isp-control.net |