Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Prevent .htaccess creation when changing PHP version?

Discussion in 'EasyApache' started by woostar, Jun 12, 2019.

  1. woostar

    woostar Member

    Joined:
    Mar 13, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    I'm not sure if this is caused by EasyApache or MultiPHP, but how do I stop a .htaccess file being created (with AddHandler application/x-httpd-ea-php73 .php .php7 .phtml) when upgrading PHP versions? All my websites stop working and I have to go around all my websites and delete the .htaccess files ‍♂️
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,456
    Likes Received:
    503
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    When you're changing the PHP version the AddHandler should also change, is that not what's occurring? This is something automatically added when using MultiPHP manager and should function without causing failure to the sites. What's present for AddHandler in the .htaccess prior to the PHP version change?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice