InMotion hosting php handler htaccess code

Home Forums BulletProof Security Pro InMotion hosting php handler htaccess code

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #41841
    AITpro Admin
    Keymaster

    This php handler htaccess code below is used on InMotion hosting and should be saved to this BPS Root Custom Code text box: 1. CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE.  Note:  This may change in the future.  The majority of web hosts no longer use php handler htaccess code.

    If your PHP version is 7.2 you would use the 7.2 php handler htaccess code, etc.

    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the "ea-php72" package as the default "PHP" programming language.
    <IfModule mime_module>
    AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit
    
    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the "ea-php74" package as the default "PHP" programming language.
    <IfModule mime_module>
    AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit
    
    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the "ea-php81" package as the default "PHP" programming language.
    <IfModule mime_module>
    AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.