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.

Adding Rules to PHP.ini Through WHM

Discussion in 'General Discussion' started by Yuval, Jun 24, 2016.

  1. Yuval

    Yuval Registered

    Joined:
    Jun 24, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Israel
    cPanel Access Level:
    Root Administrator
    Hello,

    I've upgraded my hosting account from shared to VPS and now my PHP include statements are not working.
    PHP info shows that allow_url_include = OFF.
    I tried to login to my account on WHM and under PHP Configuration Editor couldn't find allow_url_include.
    So I need a way to add a new rule to the PHP.ini file.
    Can anyone help me?

    Thank you :)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Check to see if the entry exists in the global php.ini file:

    Code:
    grep allow_url_include /usr/local/lib/php.ini
    If it doesn't, you can manually insert the entry into this file, and then restart Apache.

    Thank you.
     
Loading...

Share This Page