Current time: 12-23-2024, 03:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
FastCGI-Test
Author Message
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #41
RE: FastCGI-Test
Install php5-cgi and all modules you like (if not already installed Wink )

then go to /var/www/fcgi/<domain>/ and in there edit the file php4-fcgi-starter
Code:
#!/bin/sh

PHPRC="/var/www/fcgi/festkongen.dk/php4/"

export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php4-cgi

to

Code:
#!/bin/sh

PHPRC="/var/www/fcgi/festkongen.dk/php5/"

export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php5-cgi

alternatively you can rename php5-fcgi-starter to php4-fcgi-starter
Later we will integrate the possibility to change that out of the panel.
04-09-2007 11:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
artiflo Offline


Posts: 2
Joined: Apr 2007
Reputation: 0
Post: #42
RE: FastCGI-Test
Thanks Smile
04-11-2007 03:52 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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