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"

This article is about our web hosting platform called BoltHost. You can learn more about this service at bolthost.nz


Was this answer helpful?

« Back