Make additional file types parse as PHP

If you need another file type to act as a PHP script create a file called .htaccess and place it inside your public_html folder.
Inside this file put:

AddType application/x-httpd-lsphp .extension

Replacing ".extension" with the file extension that you would like to use.

Note that our servers require the type to be set to "application/x-httpd-lsphp" rather than the usualĀ "application/x-httpd-php"
  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

Turning Register Globals On

Simply create a file and save it as .htaccess then inside that file put the following text and...

Changing your PHP version

If you require a specific version of PHP you can change the PHP version used by your account.To...

Adding or removing PHP modules

If you require a specific PHP module that is not included in our native build of PHP then you may...

Changing PHP settings

If you require specific PHP configuration settings then you may be able to configure them through...