Hi,
I need some help with this. I am using php5.6.30. I done an update, now my domain does not load up, it keeps downloading a file application/x-httpd-php5 (6.4 KB) It does this when its set to CGI wrapper (run as virtual server owner) or FCGId (run as virtual server owner), but when its set to Apache mod_php (run as Apache's user) it works fine.
I have added this AddHandler php5-script .php .php4 .php5 .html .htm .phtml .shtml AddType text/html .php .php4 .php5 .html .htm .phtml .shtml in php.conf
This AddType application/x-httpd-php5 .php .php4 .php5 .html .htm .phtml .shtml in httpd.conf
This 1. AddType application/x-httpd-php5 .php .htm .html AddHandler x-httpd-php .php .htm .html 2.
AddType application/x-httpd-php5 .php .php4 .php5 .html .htm .phtml .shtml AddHandler x-httpd-php5 .php .php4 .php5 .html .htm .phtml .shtmlin .htaccess, tested with both 1 and 2
All of this has failed, don't know what else to try
This below is in fcgid.conf
This is the Apache server configuration file for providing FastCGI support through mod_fcgid#
Documentation is available at http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html Use FastCGI to process .fcg .fcgi & .fpl scriptsAddHandler fcgid-script fcg fcgi fpl
Sane place to put sockets and shared memory fileFcgidIPCDir /run/mod_fcgid FcgidProcessTableFile /run/mod_fcgid/fcgid_shm
#
mod_fcgid configuration file#
[...] PHP_Fix_Pathinfo_Enable 1SharememPath /var/run/fcgid_shm FcgidMinProcessesPerClass 0 FcgidMaxProcessesPerClass 10 FcgidMaxProcesses 1500 FcgidIdleTimeout 720000 FcgidProcessLifeTime 720000 FcgidIdleScanInterval 30 FcgidIOTimeout 72000 FcgidConnectTimeout 720000 FcgidBusyTimeout 360000 FcgidPassHeader Authorization AddHandler fcgid-script .fcgi MaxRequestLen 200000000 IPCConnectTimeout 720000 IPCCommTimeout 720000
The site was working fine with the fcgid.conf before the update.
Thanks
Comments
Submitted by andreychek on Fri, 05/05/2017 - 15:12 Comment #1
Howdy -- it sounds as if you may be seeing the issue described here:
https://virtualmin.com/documentation/system/faq#toc-why-does-php--proftp...
Take a peek at that, and let us know if that helps.
If it doesn't help, can you let us know what repositories are enabled?