Client Login   Contact Us   Live Chat   About Company | Country:
Proudly Hosting Over
100,000 Websites!
Web Hosting | Reseller Hosting | VPS Hosting | Testimonials | Why Us? | Help Center | Affiliates
Knowledgebase
 
Knowledge Base > Shared Hosting > Supported Features / Versions > Configuring PHP environment variables through your custom PHP.INI

Configuring PHP environment variables through your custom PHP.INI

Your 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.

  • Locate the php.ini file in your /public_html folder or sub-folders of your hosting account.
  • If you are unable to locate the php.ini file, simply create it in the directory of which the script requires it. If you do not know, contact your script developer/programmer.

Example Environment Variables that can be changed:

register_globals = On / Off
upload_max_filesize = 30M
post_max_size = 30M
memory_limit = 30M
upload_tmp_dir = 30M
max_execution_time = 180

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.


How helpful was this article to you?

Related Articles

User Comments

Add Comment
No comments have been posted.



GreenGeeks Help Center
Knowledge Base
Video Tutorials
Contact Information

Web Hosting
Web Hosting
Reseller Hosting
VPS Hosting
Why GreenGeeks
Features & Quality of Service
Our Uptime & Servers
Our Customer Service
Eco-Friendly Hosting
CEO's Personal Commitment
GreenGeeks Reviews
Green Hosting
How is GreenGeeks Green?
EPA Green Power Partner
American Lung Association Sponsor
Europe 2010 Earth Day
Our Green Mission
Recycling
Conservation
Green Investments
Green Tags for your Site
Help center
Knowledgebase
FAQs
Tutorials
Live Chat
Support Tickets

Make Money!
Affiliates Program
Merchant Accounts
Application Hosting
Drupal Hosting
Joomla Hosting
WordPress Hosting

Customer Tools
Customer Login

website security

Copyright © 2012 GreenGeeks®, LLC. All Rights Reserved. Terms of Service - Privacy Policy