fcgid stopped serving Apache php files (centos 6.4)


I updated to the latest atomicorp php 5.3.26 and for some reason it broke my webmin / virtualmin php setup. I am using fcgid, and webpages show up as white blank in the browser, and when I look at teh source I can see source code.

I found plenty similar threads like
Unfortunately, this is Ubuntu specific, and I don’t have php5_cgi.conf
I also tried running recheck config, but all is reported as good.

or this one https://www.virtualmin.com/node/21082
where user reinstalled the server

etc. , but not a concrete solution.
suexec_log is not showing anything.

Where should I be looking for a solution? Can I reinstall Webmin/ Virtualmin would that solve this issue?

You might want to grep through your whole webserver config directory for the AddHandler directive that constitutes the problem on Ubuntu. It’s possible that you’re seeing the same issue, but the directive might be in a different file for CentOS.


Yeah, some of the third party CentOS repositories add a config file that can cause the problem you’re seeing… take a look in /etc/httpd/conf.d/ for a new .conf file that contains SetHandler or AddHandler lines.

Once you find it, comment the lines out, and then you can restart Apache with this command:

/etc/init.d/httpd restart