Skip to main content

Best Configure PHP INI settings

Comments

8 comments

  • cPRex Jurassic Moderator
    Hey there! There isn't going to be a "best" as each server is different. It depends on how much traffic you're receiving, your hardware, and the settings you want to make available to your users. Some users might be just fine with peanut butter and jelly, but some users may want to get into artisanal bread options - there's definitely not a one-size fits all for that configuration on the system. I will recommend that you try and make as many changes as possible through the WHM interface to avoid typos and making sure things get saved properly on the system. We have a guide on that work here: How To Edit Your php.ini File The Right Way
    0
  • KimberH
    Thank you
    0
  • cPRex Jurassic Moderator
    Sure thing! I'm sorry I can't be more specific but it's best to adjust them as you find the need for additional resources, or to allow other functions for users.
    0
  • shahidi
    Sure thing! I'm sorry I can't be more specific but it's best to adjust them as you find the need for additional resources, or to allow other functions for users.

    Hi did you find any php.ini configuration for shared server ? Thanks
    0
  • cPRex Jurassic Moderator
    @shahidi - was there a specific issue you were experiencing with your machine? Everyone's situation is different so there is not a one-size-fits-all solution for PHP settings on a shared machine.
    0
  • KimberH
    Hi did you find any php.ini configuration for shared server ? Thanks

    No, there are so many articles I look up each setting as needed,
    0
  • KimberH
    @shahidi - was there a specific issue you were experiencing with your machine? Everyone's situation is different so there is not a one-size-fits-all solution for PHP settings on a shared machine.

    I set up a lot of WordPress sites and was coming up with a default setting I could use with each setup. When I tried to find an answer, no two help articles agree on the best settings.
    0
  • cPRex Jurassic Moderator
    That sounds correct to me, as there is no "best" - it's really just based on performance and how much resources each of your sites needs to function, so the best for your machine may not work well on another system. For example, we place the default PHP memory_limit at 32M, but for some scripts that may not be enough to let them run properly.
    0

Please sign in to leave a comment.