News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Chris Hartjes' Blog:
Handling Multiple Environments In Your PHP Application
November 28, 2008 @ 12:41:24

Chris Hartjes has posted his method for creating a development setup that lets you use multiple environments with your code.

In anticipation of my talk at PHP Quebec 2009 I've been going over my slides and thinking about what I'm going to update for it. One little nugget I'd thought I'd share is one way of handling having multiple environments your code must run in.

It uses a PHP variable in the $_SERVER superglobal - a custom one, APP_ENV - set by the application and checked to ensure global options are correctly set.

0 comments voice your opinion now!
handle multiple environment application multiple tutorial


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Nanosecond Scale Remote Timing Attacks On PHP Apps: Take Them Seriously?

SitePoint PHP Blog: Introducing eBay’s Trading API – Setting Up

SitePoint PHP Blog: Nginx, PHP5.5 and Phalcon on OpenShift

Daniel Krook's Blog: Move from MySQL to DB2 via the Cloud

Alexander Netkachev's Blog: A little bit more about Zend_Controller plugins


Community Events

Don't see your event here?
Let us know!


configure yii2 opinion api composer framework introduction symfony community interview example series application list laravel part2 language project php7 podcast

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework