Best Configure PHP INI settings
Hi, Where can I find an honest article that will give me the best or highest PHP INI settings? I've read so many articles telling me different things and need a good source for this information. Thank you
-
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 -
Thank you 0 -
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 -
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 ? Thanks0 -
@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 -
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 -
@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 -
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.
Comments
8 comments