ispCP - Board - Support
FastCGI-Test - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: FastCGI-Test (/thread-78.html)

Pages: 1 2 3 4 5


RE: FastCGI-Test - ephigenie - 04-09-2007 11:31 PM

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.


RE: FastCGI-Test - artiflo - 04-11-2007 03:52 AM

Thanks Smile