Quote:
What module you install? You need install mod_fcgid (not mod_fastcgi, because this modules are different)
|
Slava,
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]
Starting httpd: [ OK ]
Apache error log:
Code:
[Sat Feb 20 16:41:23 2010] [notice] caught SIGTERM, shutting down
[Sat Feb 20 16:41:25 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 20 16:41:25 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 20 16:41:28 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 20 16:41:31 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 20 16:41:35 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 20 16:41:38 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 20 16:41:41 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 20 16:41:44 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 20 16:41:47 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 20 16:41:47 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 20 16:41:52 2010] [notice] Digest: generating secret for digest authentication ...
[Sat Feb 20 16:41:52 2010] [notice] Digest: done
[Sat Feb 20 16:41:52 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
One more thing. When you edit user permissions in Control Panel there is
PHP как FastCGI not PHP as FastCGI option. My default language is English! Everyting else is fine.