WP Smith

Creating WordPress & Genesis Websites Since 2010

  • Home
  • About
  • Services
  • Blog
  • Contact

Mar 05 2014

Setting Up a Local Environment via XAMPP: Configuring PHP

PHP comes installed with a preset configuration. In local environments, I tend to set things a lot higher than I normally would in a production site simply because it is for me and for strenuous testing, auditing, developing, debugging, etc.

So navigate to the C:xamppphpphp.ini file and open within Notepad++.
Open php.ini

The file will look like this initially.
php.ini

Go to line 451, and make the following changes:
https://gist.github.com/9318470
This will allow you to do a bit more with the PHP instead of it timing out on you periodically.

And then on line 922, change upload_max_filesize to upload_max_filesize=100M
This will enable you to be able to upload large files to the WordPress Media area.

Then on line 1045, change the default timezone. For more information as to what value to place there, see http://php.net/date.timezone.
This obviously sets the server default timezone.

Now, there are other customizations you can make to the INI file, but these basic changes are all the essential ones.

Written by Travis Smith · Categorized: WordPress

StudioPress Premium WordPress Themes     WP Engine Managed WordPress Hosting

What can I do for you!?

Custom Development

We develop plugins by determining both business/functional and technical requirements, following WordPress development best practices, and using agile methodology to ensure you get the best solution.

Consulting

Have questions? Need a reliable developer to consult? Please contact us today!

Customized Theme

We can customize your theme or child theme, or create a child theme for you based on your needs while enhancing the performance of every individual attribute.

Customized Plugin

We can customize your plugins, extend plugins (e.g., Gravity Forms, Jetpack, Soliloquy) based on your needs ensuring security, performance, and positive business impact.

Contact Us

About Travis Smith

As a WordPress enthusiast, developer, and speaker, Travis writes about what he learns in WordPress trying to help other WordPress travelers, beginners and enthusiasts with tutorials, explanations, & demonstrations.

Leave a Reply Cancel 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.

  • Twitter
  • Facebook
  • LinkedIn
  • Google+
  • RSS

Copyright © 2025 � WP Smith on Genesis on Genesis Framework � WordPress � Log in