Having trouble getting PHP to parse files without a PHP extension in cPanel


While migrating servers, this code in .htaccess stopped working for me:
<Files filename>
SetHandler application/x-httpd-php
</Files>

After hours of searching (and mostly playing around), this fixed it:

<Files filename>
SetHandler application/x-httpd-ea-php56
</Files>

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.