WHMCS
You are here: Support > Knowledgebase > Programming > How to use PHP5 as the default php parserPlease Login or Register



How to use PHP5 as the default php parser

In order to have all of your PHP5 scripts parsed by the PHP5 engine, you will need to add the following lines in your .htaccess file :

 

 

AddHandler fcgid-script .php

FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php

 

Remember, .htaccess is recursive and all child folders under that .htaccess will be using PHP5 to parse all .php files.

 



Was this answer helpful?

Add to Favourites
Print this Article

Webkore Internet Services