There may be times you need to view your account's php settings. In order to do that you will want to create a phpinfo page. If you need to update any of your php variables, please see our article on updating your local PHP settings.
In this walk through we will use the cPanel File Manager to create our phpinfo page.
<? phpinfo(); ?>
To view your newly created phpinfo page simply navigate to YourDomain.com/phpinfo.php. You should see a page similar to:
If you need to see a specific value for a setting, use your browser's search feature (Ctrl + F in Windows or Command + F for Mac). For instance, if I wanted to find the memory_limit setting, I would search for memory_limit setting. The first column shows the local value and the second column shows the master value. The local value overrides the master value so it is the one to look at and determine if you need to make any changes to.
It's important to understand that the phpinfo file shows your individual php settings. Because phpinfo.php is a common file name, there are potentially malicious "bots" on the web that will search for that file name. It's best practice to do one of the following when you are finished
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!