<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 18 Jun 2013 20:09:48 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Reddit.com: How do you manage many PHP projects? Lots of VMs?]]></title>
      <guid>http://www.phpdeveloper.org/news/19223</guid>
      <link>http://www.phpdeveloper.org/news/19223</link>
      <description><![CDATA[<p>
On Reddit.com there's a discussion that centers around <a href="http://www.reddit.com/r/PHP/comments/18z2m1/how_do_you_manage_many_php_projects_lots_of_vms/">the management of VMs and PHP projects</a> in a multiple-checkout environments.
</p>
<blockquote>
I have been using a Linux install for a couple years now and it has development checkouts (and matching databases + live data) for dozens of sites. Since I create a new virtual host for each site there hasn't been any problems piling more and more projects into this system. However, this computer won't last forever. [...] Should I setup a new VM + debian install for each project (seems like a lot of work). Should I just move everything to an external drive and point the MySQL data, MongoDB data, Nginx web folders to the attached drive? How do others handle this?
</blockquote>
<p>There's several suggestions made in the comments including things like:</p>
<ul>
<li>Using <a href="http://ansible.cc/">Ansible</a> for configuration management
<li>Bundling the current linux install into one portable VM
<li>Using <a href="http://www.vagrantup.com/">Vagrant</a> for VM management
<li>Using source control that can be accessed from any device/VM
</ul>
<p>
Have a VM management method you've found useful in your development? <a href="http://www.reddit.com/r/PHP/comments/18z2m1/how_do_you_manage_many_php_projects_lots_of_vms/">Share some about it here</a>.
</p>]]></description>
      <pubDate>Fri, 22 Feb 2013 12:57:11 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Justin Carmony:  Vagrant & PHP: Our Success Story at the Deseret News]]></title>
      <guid>http://www.phpdeveloper.org/news/18481</guid>
      <link>http://www.phpdeveloper.org/news/18481</link>
      <description><![CDATA[<p>
<i>Justin Carmony</i> has <a href="http://www.justincarmony.com/blog/2012/09/15/vagrant-php-our-success-story-at-the-deseret-news/">shared his success story</a> about the use of Vagarant and PHP as a platform to make setting up and configuring developers' environments simple.
</p>
<blockquote>
Now-a-days, you have frameworks that need to be setup [as a part of your environment], include paths that need to be changed, modules that need to be installed, web servers that need to be configured for your routing, etc. Then you might not just have MySQL, but Redis, Mongo, Couch, Memcached, Postgres, or any other dozen other servers. Then in Production you might have load balancers, multiple web servers, clusters of databases, and the list goes on. Simply put: web development environments are complex.
</blockquote>
<p>
He introduces <a href="http://vagrantup.com/">Vagrant</a> and talks a bit about how it helped them with the setup and configuration of two new remote developers they had limited contact with. After some initial quirks, Vagrant made it simple for them to get up and running with new environments in a day.
</p>]]></description>
      <pubDate>Mon, 17 Sep 2012 09:51:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: Lately in PHP, Episode 27 - Running PHP code with JavaScript and Python VM]]></title>
      <guid>http://www.phpdeveloper.org/news/18453</guid>
      <link>http://www.phpdeveloper.org/news/18453</link>
      <description><![CDATA[<p>
PHPClasses.org has posted the latest episode of their "Lately in PHP" podcast series - <a href="http://www.phpclasses.org/blog/post/192-Running-PHP-code-with-JavaScript-and-Python-VM--Lately-in-PHP-podcast-episode-27.html">Episode #27</a>, "Running PHP code with JavaScript and Python VM".
</p>
<blockquote>
PHP applications popularity is so high that developers which prefer using other languages are trying to compile PHP code in languages like JavaScript and Python using new virtual machine projects. [...] They also cover the latest PHP releases and the new features planned for PHP 5.5, as well the new PHP elephant plush toys that were produced by the PHPClasses site to give away to the best contributors of the site.
</blockquote>
<p>
You can listen to this latest episode in a few different ways - either by <a href="http://www.phpclasses.org/blog/post/191/file/141/name/Lately-In-PHP-27.mp3">downloading the mp3</a>, <a href="http://www.phpclasses.org/blog/category/podcast/post/latest.rss">subscribing to their feed</a> or <a href="http://youtu.be/OShBrW6VLPs">watching the video</a> on their Youtube channel.
</p>]]></description>
      <pubDate>Thu, 06 Sep 2012 11:40:42 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matt Frost: Starting with Selenium (and Headless on a VM)]]></title>
      <guid>http://www.phpdeveloper.org/news/18404</guid>
      <link>http://www.phpdeveloper.org/news/18404</link>
      <description><![CDATA[<p>
<i>Matt Frost</i> has posted a two part series of some of his experiences in <a href="http://shortwhitebaldguy.com/blog/2012/08/starting-with-selenium">setting up Selenium</a> to <a href="http://shortwhitebaldguy.com/blog/2012/08/headless-selenium-from-your-vm">execute it in a VM</a> and run tests on your application.
</p>
<blockquote>
I was a little scared when it came to setting up Selenium, I figured it was going to be difficult to setup and configure. So I was pleasantly surprised when it really wasn't. So here are a few of the mistakes I made; since I use Vagrant to do all my development I actually grabbed Selenium and started from there. Not a good place to start, although as I found out later; not a total dead end.
</blockquote>
<p>
He includes <a href="http://shortwhitebaldguy.com/blog/2012/08/starting-with-selenium">the initial setup</a> of things like PHPUnit and the <a href="http://seleniumhq.org/download/">Selenium .jar file</a> as well as a sample test that loads a page and checks the title of the page. His <a href="http://shortwhitebaldguy.com/blog/2012/08/headless-selenium-from-your-vm">second post</a> shows how to set it up in the VM (using Vagrant, <a href="http://en.wikipedia.org/wiki/Xvfb">xvfb</a> to capture the output and Firefox to execute the tests). 
</p>]]></description>
      <pubDate>Mon, 27 Aug 2012 08:16:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Juan Terminio's Blog: Setting Up a Debian VM, Step by Step]]></title>
      <guid>http://www.phpdeveloper.org/news/18172</guid>
      <link>http://www.phpdeveloper.org/news/18172</link>
      <description><![CDATA[<p>
In <a href="http://jtreminio.com/2012/07/setting-up-a-debian-vm-step-by-step/">this new post</a> <i>Juan Terminio</i> shows you how to set up a new virtual machine (VM) that hosts a Debian system (replacing the setup of his <a href="http://jtreminio.com/2012/04/setting-up-an-ubuntu-vm-step-by-step/">previous</a> tutorial for setup of a Ubuntu system) in VirutalBox.
</p>
<blockquote>
Previously, I created a tutorial on installing a 32-bit Ubuntu VM with PHP 5.3.x. I've since moved on to PHP 5.4.x and Debian, which is universally considered a safer bet for a server OS. This tutorial is what I will point back to in the future when I want to show people how to create a VM, so you should consider the Ubuntu-based tutorial obsolete. In reality, Ubuntu is based on Debian, so the bulk of this tutorial will be very similar to the Ubuntu one, albeit with some minor changes here and there.
</blockquote>
<p>
He starts with a few reasons to use a VM over the more traditional single development system mentality including keeping the "server" off your desktop and the dev-to-production similarity needs. He shows how to use the <a href="https://www.virtualbox.org/">VirtualBox</a> software and a <a href="http://ftp.cae.tntech.edu/debian-cd/debian-6.0.5-amd64-i386-netinst.iso">Debian ISO</a> to create the VM, complete with screenshots of each step of the way (for both host and guest OSes). He also helps you get a few things installed including sudo, setting up the network, configuring the hosts file and installing some common utilities as well as the MySQL, Apache, PHP and Samba combination (with PHP compiled from the 5.4.x source). 
</p>]]></description>
      <pubDate>Wed, 04 Jul 2012 13:01:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Setting up EC2 for Drupal with Puppet]]></title>
      <guid>http://www.phpdeveloper.org/news/17539</guid>
      <link>http://www.phpdeveloper.org/news/17539</link>
      <description><![CDATA[<p>
In <a href="http://matthewturland.com/2012/02/13/setting-up-ec2-for-drupal-with-puppet/">this new post</a> to his blog <i>Matthew Turland</i> shows how to set up a <a href="http://docs.puppetlabs.com/guides/introduction.html">puppet</a> configuration to deploy and set up an EC2 environment for Drupal.
</p>
<blockquote>
I'm currently working on a project that involves running <a href="http://drupal.org/">Drupal</a> on <a href="http://aws.amazon.com/ec2/">Amazon EC2</a>. To save time in setting up future new VM instances, I decided to take the opportunity to learn <a href="http://docs.puppetlabs.com/guides/introduction.html">puppet</a>. For the time being, I'm using a single VM to run the full LAMP stack and running puppet <a href="http://docs.puppetlabs.com/#part-one-serverless-puppet">without a server</a> by copying my puppet manifest to the VM and using <a href="http://docs.puppetlabs.com/guides/tools.html#puppet-apply-or-puppet">puppet's apply command</a> to apply it locally. However, this manifest can easily be adapted for a multi-VM environment.
</blockquote>
<p>
He includes the full configuration in the post that does a few things including setting up the correct PHP timezone, starting up the Apache instance, installing a few PHP modules (like PDO, MySQL and GD) and setting up the MySQL server. He also includes the commands needed to run the configuration and point it at the correct EC2 instance.
</p>]]></description>
      <pubDate>Tue, 14 Feb 2012 11:14:40 -0600</pubDate>
    </item>
  </channel>
</rss>
