PHP CGI vs. FCGI
Hi,
you've built in apache with mod_php and php cgi support. Is there any special reason why you didn't add FCGI instead of standard CGI? Thanks, Frank |
FastCGI is more effective in terms of speed and consumes less memory.
PHP CGI (not FastCGI) starts a separate process for each call to the script, the process FastCGI already running and receiving data for processing. FastCGI caches the data and does not waste system resources to run the new processes. What operation system you have? CentOS Linux distro does not have FastCGI module and you can install FCGI manually. |
I'm using Debian Lenny but i only have the option to choose cgi in ISP Manager
|
Try to install manually by this way:
Code:
apt-get install libapache2-mod-fcgid Code:
Option ForcePhpFCgid Code:
killall ispmgr |
Hi,
I successfully compiled fastcgi module into apache and it loads perfectly. Also I've add option in Control panel so FastCGI is now available option in my WWW domains. The problem is when I try to change/add FastCGI WWW domain in Control panel the following error appears: Code:
Stopping httpd: [FAILED] Code:
</Directory> I use CentOS 5 and ISPManager PRO Thanks! |
Quote:
|
Quote:
I was wrong, I've installed mod_fastcgi! Now I installed mod_fcgid following steps from http://en.ispdoc.com/index.php/Insta...n_CentOS_Linux Everything works fine except one thing. When I change php to PHP via FastCGI for some domain and apply changes Apache for some reason failed to restart, then I must manually restart with /etc/init.d/httpd restart command, then everything works again. When restarting apache FAILED to stop but successfully starts, sending you a log. After restarting apache: Code:
Stopping httpd: [FAILED] Code:
[Sat Feb 20 16:41:23 2010] [notice] caught SIGTERM, shutting down |
Quote:
|
Problems activating php as fast cgi
Hi,
i've got isp manager installations on quite some machines now. I've enabled Fast CGI on nearly all of them. All are Debian Lenny installations which are up to date. On some machines i already saw problems when activating php as fast cgi on a domain. I've setup the user (owner of the domain) to have the rights but everytime i setup php as cgi or as fast cgi ips manager keeps to load and load and i have to kill -9 it to get it back. The Fast CGI or CGI param doesn't get set. I can set php as apache module without any problems. Until now i couldn't manage to reproduce the problem but I've now got one machien where i can't get it working. I can do what i want but can't set one of the domains to fast cgi. Can you help? Frank |
Write a request to our support team. We'll check it.
|
All times are GMT +2. The time now is 05:27 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.