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.

Adjust and Check PHP Settings

Discussion in 'General Discussion' started by medialeitwerk, Nov 17, 2016.

Tags:
  1. medialeitwerk

    medialeitwerk Registered

    Joined:
    Nov 17, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Hello,

    we want to adjust php.ini-Settings, for example "max_execution_time" and "memory_limit". How is it possible to see what are the maximum values for this parameters? If we set memory_limit to 512MB, how can we check if this setting was recognized?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. medialeitwerk

    medialeitwerk Registered

    Joined:
    Nov 17, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Hi,

    thank you for your response. Am I right in the assumption that setting suPHP_ConfigPath overwrites my settings in /etc/php.d/ ?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    That option allows you to define a php.ini file that's utilized for the account. Thus, if you set it to:

    Code:
    suPHP_ConfigPath /home/$user/public_html/php.ini
    Then, /home/$user/public_html/php.ini is the default php.ini file for the account, taking precedence over any other php.ini files.

    Thank you.
     
Loading...

Share This Page