Home My Account

How to add .PHP5 extension support to Centos 6

June 8, 2014

vi /etc/httpd/conf/httpd.conf
i – to insert
esc – to exit insert mode
:wq – save and close file

SetHandler fcgid-script
FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php5
Options +ExecCGI
allow from all
service httpd restart

Tweet