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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MultiPHP INI Editor

Discussion in 'Security' started by Nirjonadda, May 12, 2017.

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    418
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I am not using MultiPHP but why MultiPHP INI Editor override htaccess ? Can i remove this rules from htaccess? Please let me know.

    Code:
    # BEGIN cPanel-generated php ini directives, do not edit
    <IfModule php7_module>
       php_flag display_errors On
       php_value max_execution_time 360
       php_value max_input_time 240
       php_value max_input_vars 100000
       php_value memory_limit 4095M
       php_value session.gc_maxlifetime 1440
       php_value session.save_path "/var/cpanel/php/sessions/ea-php71"
       php_value upload_max_filesize 128M
    </IfModule>
    # END cPanel-generated php ini directives, do not edit
    
    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the “ea-php71” package as the default “PHP” programming language.
    <IfModule mime_module>
      AddType application/x-httpd-php .php .php7 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,766
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The easy answer is, rename the .htaccess to htaccess.txt and visit the website to see if anythings broken.
    Then you should be fine. If something is broken, rename the file back to .htaccess
     
Loading...

Share This Page