- Log into your cPanel
- Open your file manager
- Navigate to the directory you are working with. This is important because each folder can actually be set to have different php settings. In this example, we are viewing the php settings for our main domain, se we are navigating to the public_html folder.
- In the top menu, click "New File"
- When prompted for the file name, enter phpinfo.php (it can actually be named anything, phpinfo.php is simply a common name for the file)
- Find the phpinfo.php file in your list of files (it should have automatically updated). Right click on it and choose "Edit". If you see a "Text Editor" prompt, choose "utf-8" from the drop down list and then click "Edit".
- Enter the following text and then click "Save Changes"
To find the specific value of a setting, search the page for what you're looking for. In this case, we used our browser's search feature ( Ctrl + f ) and searched for memory_limit. The first value you see is what is set for the current direcotry (local value), and the setting value is the master value. The local value is the actual setting and is the important value, because the local values will override the master value: