GoDaddy: Requires all Web pages containg PHP code have the .php file type.
icdSoft: Enable PHP by creating an .htaccess file in the root directory and adding the following code:
AddHandler application/x-httpd-php5 .php .html .htm
We can continue using .html as the file type and when PHP is embedded using<?php
... my php code ...
?>
the server interprets it appropriately.If in doubt, save yourself some time. Look for enabling PHP in the server support help pages or contact your hosting provider support staff.
No responses to “Enabling PHP on your server”