Current time: 11-27-2024, 02:10 PM Hello There, Guest! (LoginRegister)


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

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #25
RE: Possible to use mod_php instead of fast-cgi?
O now i see an entry in the log i was not waiting long enough for the timeout...

[Tue Feb 05 16:01:22 2008] [error] [client 206.248.146.163] FastCGI: comm with (dynamic) server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec)
[Tue Feb 05 16:01:22 2008] [error] [client 206.248.146.163] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter"
[Tue Feb 05 16:04:07 2008] [error] [client 87.181.112.163] FastCGI: comm with (dynamic) server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec), referer: http://www.isp-control.net/forum/possibl...242-3.html
[Tue Feb 05 16:04:07 2008] [error] [client 87.181.112.163] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter", referer: http://www.isp-control.net/forum/possibl...242-3.html

robmorin Wrote:I was thinking , does there have to be anything in apache2 to make php5 work??

Smile
Rob..

robmorin Wrote:Hehehe, sorry about the long ps, i thought you might want to see the actual processes... Smile

I just changed as a test site, my sons website...

#!/bin/sh
umask 022
PHPRC="/var/www/fcgi/ryanmorin.com/php4/"
export PHPRC
PHP_FCGI_CHILDREN=4
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php5-cgi

As you can see it says php5-cgi

i restarted apache2, now you can try yourself at http://www.ryanmorin.com
Smile His word press site, he is only 8 years old...
Smile

it just hangs.... and othing in the logs, howerver i will double check....

Thanks..

BeNe Wrote:a "wc" for counting after the ps would be the nice way, but OK.
Try to switch to PHP5. I did not work with php4 and ispCP Rolleyes
Maybe someone else can give some info. But for the switch to php5.
Did you check the FAQ ? Of course or ?
-> http://www.isp-control.net/component/opt...iew/id,18/

Only a white site and no Error in the apachelog ?

Greez BeNe
02-06-2008 07:10 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Possible to use mod_php instead of fast-cgi? - robmorin - 02-06-2008 07:10 AM

Forum Jump:


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