News Feed
Sections




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

NetTuts.com:
Setting Up A Staging Environment
February 15, 2013 @ 10:49:39

On NetTuts.com today Gabriel Manricks walks you through setting up a staging environment using Vagrant to install and setup a virtual machine running Apache 2 and PHP 5.4.

Creating a staging environment is specific to your production environment. There is no magic solution that works in every situation. But most cases follow a similar pattern, and I'll cover all the key points as we go along. It's fair to assume that most people deploy their apps with some kind of versioning tool (like GIT). [...] Besides GIT, you have to think about the languages, software, and "special" features your production servers offer.

All of the commands and configuration files you'll need to make the automatic setup work are included in the article. It's based on a Debian (Squeeze) base image and uses packages to install the needed software. They also install other PHP extensions like mycrypt, GD, curl, APC and database support (MySQL, SQLite and Postgres). They help you get Apache set up to serve the application and work with git and its hooks to push the code and run Composer.

0 comments voice your opinion now!
staging environment tutorial vagrant git apache deployment hooks


blog comments powered by Disqus

Similar Posts

PHPit.net: An Introduction to the Winbinder Library (Part 1)

DevShed: Performing Full-text and Boolean Searches with MySQL

PHPMac.com: Building and Installing Apache 2.2.2 and PHP 5.1.3 (or 5.1.4) on Mac OS X 10.4.6

Danne Lundqvist: Using Xdebug in MAMP

Label Media Blog: Installing Sphinx and PECL/Sphinx on Mac OS X


Community Events





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


opinion install release series language deployment api tips library laravel symfony framework community list introduction podcast interview zendserver update package

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