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!

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:
    43,646
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    43,646
    Likes Received:
    1,787
    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.
     
    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