Make additional file types parse as PHP Print

  • 26

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"

Was this answer helpful?

« Back