Your GreenGeeks hosting account includes the ability to run your own php.ini file which gives you the ability to customize PHP environment variables without the assistance of our technical support staff.
GreenGeeks provides an easy to use interface for managing your PHP version, Extensions, and Settings. Below we show you how to change PHP settings such as memory_limit, register_globals, safe_mode etc. This tutorial will walk you through php.ini file changes to PHP environment variables using our cPanel interface.
How to Configure PHP Settings
1) Log in to your GreenGeeks Account Manager and go to your cPanel Account by clicking the “cPanel Login” button in the “Quick Server Login” section.
2) In cPanel, navigate to the “Software” section and select “Select PHP Version.”
3) In order to customize your PHP settings, you must select a custom PHP version. You cannot change the PHP settings for the native (default) PHP version shown. So in this example, you would not be able to change the PHP settings for version 7.0.
So in order to change PHP settings, you must select a version other than the version that is noted as “native.”
To change the PHP settings, click the “Switch To PHP Options” link. You should then see the following.
4) To make changes simply click the grey text, enter or select the setting change, and click the “Apply” button. Click “Save” when you have completed all of your modifications.
Viewing the Changes
You can check to ensure that your changes have taken place by creating a phpinfo.php file. Add the following line of code to a blank text file:
<? phpinfo(); ?>
Name the file phpinfo.php and upload it to the root directory of your site.
Visit http://ggexample.com/phpinfo.php to view the PHP settings (replacing ggexample.com with your domain name).