FCgid

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 .shtml

in .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 scripts

AddHandler fcgid-script fcg fcgi fpl

Sane place to put sockets and shared memory file

FcgidIPCDir /run/mod_fcgid FcgidProcessTableFile /run/mod_fcgid/fcgid_shm

#

mod_fcgid configuration file

#

[...] PHP_Fix_Pathinfo_Enable 1

SharememPath /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

Status: 
Active

Comments