Updated June 10th 2013:

Your GreenGeeks hosting account(s) come with the ability to run your own php.ini file allowing you to customize PHP environment variables for your scripts to work efficiently and to avoid intervention from our technical support.

This will walk you through how to use the php.ini file for the purpose of changing PHP environment variables, on June 10th GreenGeeks launched a new easy to use interface for managing your PHP version, Extensions & Settings. Below we cover setting PHP Settings such as memory_limit, register_globals, safe_mode etc. Don’t forget to check out our PHP Version & PHP Extension selection features!

How to configure PHP Settings?

1) Login to your GreenGeeks Account Manager & navigate to your cPanel Account

2) Navigate to the “Software/Services” section & select “Select PHP version”:


3) In order to customize your own PHP settings you will need to select a custom PHP version. By default GreenGeeks operates 7.0 which you should select unless other wise required. In order to change your PHP Settings insure you click “Show PHP Settings”. You should see the following:


4) To make changes simply click on the grey text, once the desired settings are placed click “Apply” followed by “Save” when you have completed all of your modifications.

Viewing These Changes

To view if your changes have taken place, you can create a phpinfo.php file. Add the following line of code to the blank file:

<? phpinfo(); ?>

Load the file by going to and it will display the information.


  1. Jeremiah

    This article is lacking in detail and all attempts I’ve made at implementing a custom php.ini workaround have not worked. My current WordPress installation has a max file upload size of only 1MB and my php.ini in the root directory has a setting of 30MB.

    The article should be updated with a sample php.ini (complete).

  2. Josh

    Hello Jeremiah,

    Thank you for your comments, modifying PHP.ini files has always been a difficult/confusing process. GreenGeeks is proud to announce, a new & easier way of managing your PHP.ini files directly from your cPanel account. Take a look at the updates and contact support if you have any further difficulties.

  3. Jonathan Griffiths

    Any attempts to use php 5.3 or 5.4 result in a configuration error on any php script I try to execute. Even with default settings and includes.

  4. Kaumil - GreenGeeks Article Author

    Are you sure that your PHP scripts are coded to work correctly with 5.3 and 5.4? Check with the developer of the script. If your script is compatible, send in a ticket via the Account Manager and one of our technicians will look into this for you.

  5. Zach Shivers

    Thank you for this article.
    It resolved my issue.

    I run a Denver cleaning service> and I administer the website also.

    I have a background in IT back end systems but I’m a novice on front end systems and web stuff.

    I love Green Geeks. They have provided me the best support ever.
    Support actually directed me to this link.

    I love that we have access to cPanel with the GUI admin tools.
    It makes life much easier for we who do not modify code files often.

  6. Josh Dargie

    This functionality is only available on our Shared & Reseller hosting services. VPS servers are restricted to one PHP version (5.4 by default) and support the traditional php.ini functionality.

  7. John Hollier

    Now that php 5.5 is “end of life” (no actively being supported and no security fixes after July 10, 2016, does GreenGeeks have a migration plan?

    Will you go to 5.6, or jump directly to 7?
    When are you planning to do this?

    P.S. It’s been almost three years since you updated this Knowledge Base item – maybe it’s time the article said that you’re on 5.5 and what your plans are.

  8. Richard Gledhill

    So how do I set outside of the 2 or 3 suggested variables?

    For example: You encourage the installation of Moodle through Softaculous apps installer, however if I want to download all students work at once or even if serveral of them are uploading at once the max I can set “max_execution_time” to is a whopping 90 sec. Also know as internal server error 500 request timed out.

  9. Martin

    Hey Josh,

    So it looks like you’re on 5.6 now, at least that’s what I’m seeing on PHP Selector. It says that changing options is impossible.

    I need to change the upload_max_filesize and the post_max_size settings. I need both to be 20MB. Any way this can be done?


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.