June 25, 2026
Normal rule in .htaccess to parse html files as php on easyapache 3 are not working on easyapache 4
#AddType application/x-httpd-php .php .htm .html
#<FilesMatch “\.(htm|html|php)$”>
#SetHandler application/x-httpd-php56
#</FilesMatch>
Below is the code which will need to be added In cpanel, multiphp manager will add the following for force a specific
version of php:
# php — BEGIN cPanel-generated handler, do not edit
# Set the “ea-php54” package as the default “PHP” programming language.
AddType application/x-httpd-ea-php54 .php .php5 .phtml
# php — END cPanel-generated handler, do not edit
Make sure the AddType and the selected php version matches! So there we go, simple when you know how.
June 25, 2026
June 25, 2026
June 24, 2026
Keep your servers secure, optimized, and running smoothly with our reliable 24/7 server management and technical support.