when i open my web site in then virtual host, i found the php file doesnt running. and so i open the error log file, mod_fcgid: can't apply process slot for... i dont know why? many thanks!
apache error log [Mon Nov 02 15:31:40 2009] [warn] (13)Permission denied: mod_fcgid: spawn process /var/www/tiaotiao.la/web/test.php error [Mon Nov 02 15:31:41 2009] [error] (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /etc/httpd/logs/fcgidsock/2095.191 site error log [Mon Nov 02 15:24:29 2009] [warn] mod_fcgid: can't apply process slot for /var/www/tiaotiao.la/web/test.php [Mon Nov 02 15:26:31 2009] [warn] mod_fcgid: can't apply process slot for /var/www/tiaotiao.la/web/test.php [Mon Nov 02 15:31:41 2009] [warn] mod_fcgid: can't apply process slot for /var/www/tiaotiao.la/web/test.php this server have been installed in a vmware virtual machine. centos 5.3 apache 2.2.14 php 5.2.11 mysql 5.1.40
Please check that you have selinux disabled as described in the centos perfect server manual. http://www.howtoforge.com/perfect-server-centos-5.3-x86_64-ispconfig-3-p3
yes, and the now the contents of the selinux config file : SELINUX=disabled SELINUXTYPE=targeted SETLOCALDEFS=0 but mod_fcgid still cant running .
P.S. i didnt found the rpm mod_fcgid via installation by yum. so i had install mod_fcgid by make install: wget http://jaist.dl.sourceforge.net/sourceforge/mod-fcgid/mod_fcgid.2.2.tgz tar zxvf mod_fcgid.2.2.tgz cd mod_fcgid.2.2 vi makefile top_dir = /usr/lib/httpd :wq make make install
thank u. i had enabled the RPMforge repository on my server. but because httpd, php, mysql, versions are not default version. so i didnt found the rpm mod_fcgid via installation by yum. so i had install mod_fcgid by make install. finily i found that the problem is security of the directory. P.S. i have install mod_fcgid using another RPM. and i found, in this way the config file is difrence to other way that installing via yum.