Admin-Ahead Community

General Category => General Discussion => Topic started by: Aby on March 02, 2014, 09:57:43 pm

Title: Force PHP5 to use .php extension in a Directory
Post by: Aby on March 02, 2014, 09:57:43 pm
Force PHP5 to use .php extension in a Directory

If you wish to set the PHP5 to run for a specific directory and only that directory and it's sub directories it can be done with the following code in a .htaccess

<FilesMatch .php>
SetHandler application/x-httpd-php5
</FilesMatch>

If you're looking to run PHP5 across your entire account make use of the PHP Configuration option page found in your accounts cPanel.
----