PHP 7.0 handler htaccess code

Home Forums BulletProof Security Pro PHP 7.0 handler htaccess code

This topic contains 3 replies, has 2 voices, and was last updated by  AITpro Admin 2 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24496

    Krzysztof
    Participant

    Hello!
    My hosting provide allows PHP 7.0 but the change is saved via htaccess and code as follows must be added: Where should I put it in the custom codes section – do I get it correct that it should go into the first section?

    # phpvs start v5
    <Files ~ \.(php|php5|php6|phps|inc|shtml)$>
    SetHandler fcgid-script
        FcgidWrapper "/fcgi/virt106208/public_html/fcgid-7.0.sh" .php
    </Files>
    # phpvs end v5
    #24498

    AITpro Admin
    Keymaster

    PHP handler htaccess code goes in this Root Custom Code text box:  CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE

    #24502

    Krzysztof
    Participant

    Thank you for your help! Works like a charm 😉

    #24503

    AITpro Admin
    Keymaster

    Great! Thanks for confirming it works.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.