BE SOCIAL & SHARE:

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”:

software-services1

3) In order to customize your own PHP settings you will need to select a custom PHP version. By default GreenGeeks operates 5.3 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:

software-services2

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 http://www.yourdomain.com/phpinfo.php and it will display the information.

About The Author

Comments

  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 Article Author

    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

    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 Article Author

    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.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>