<?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 19:36:53 -0500</pubDate>
    <ttl>30</ttl>
    <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[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[Ben Ramsey's Blog: Build PHP 5.4 on CentOS 6.2]]></title>
      <guid>http://www.phpdeveloper.org/news/17630</guid>
      <link>http://www.phpdeveloper.org/news/17630</link>
      <description><![CDATA[<p>
In <a href="http://benramsey.com/blog/2012/03/build-php-54-on-centos-62/">this latest post</a> to his blog <i>Ben Ramsey</i> shows you how to, inside of a virtual machine, set up a server with PHP 5.4 installed (using CentOS 6.2).
</p>
<blockquote>
In case you haven't heard the news, the PHP project <a herf="http://www.php.net/archive/2012.php#id2012-03-01-1">released version 5.4.0 last Thursday</a>. Naturally, I decided it was time to install and give it a try. I chose to install to a clean and bare-bones <a href="http://www.centos.org/">CentOS 6.2</a> virtual machine using <a href="https://www.virtualbox.org/">VirtualBox</a>. I did this for two reasons: 1) I wanted a clean environment for the build, and 2) I wanted to play with CentOS. At the time of this writing, there are not yet any official CentOS RPMs for PHP 5.4, so I had to build PHP from source. What follows are the notes I took during the installation and build process. I hope you find them helpful.
</blockquote>
<p>His instructions cover the full process:</p>
<ul>
<li>Installing the CentOS operating system
<li>Creating a non-root user
<li>Setting up the network for local access
<li>Installing the packages for PHP (via yum)
<li>Grab <a href="http://php.net/downloads">PHP 5.4</a> and compile it
<li>Testing out the web server with a sample <a href="http://php.net/phpinfo">phpinfo</a> file
</ul>
<p>
He includes a lot of extensions in his installation, some you may not need like pspell, tidy, calendar, ftp or xsl.
</p>]]></description>
      <pubDate>Tue, 06 Mar 2012 09:58:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Project: phpVirtualBox - VirtualBox Management Tool]]></title>
      <guid>http://www.phpdeveloper.org/news/17616</guid>
      <link>http://www.phpdeveloper.org/news/17616</link>
      <description><![CDATA[<p>
For those fans of virtualization (and running VMs for development) you're not stranger to <a href="http://www.virtualbox.org">VirtualBox</a>. Over on the Google Code site, there's a project that wants to make it easier to work with your VirtualBox instances via a PHP-driven interface.
</p>
<blockquote>
An open source, AJAX implementation of the <a href="http://code.google.com/p/phpvirtualbox/wiki/VirtualBox">VirtualBox</a> user interface written in PHP. As a modern web interface, it allows you to access and control remote <a href="http://code.google.com/p/phpvirtualbox/wiki/VirtualBox">VirtualBox</a> instances. Much of its verbage and some of its code is based on the (inactive) <a href="http://code.google.com/p/vboxweb/">vboxweb</a> project. phpVirtualBox was designed to allow users to administer <a href="http://code.google.com/p/phpvirtualbox/wiki/VirtualBox">VirtualBox</a> in a headless environment - mirroring the <a href="http://code.google.com/p/phpvirtualbox/wiki/VirtualBox">VirtualBox</a> GUI through its web interface.
</blockquote>
<p>
The tool isn't designed to be a management tool for a "hosting" type of environment, but rather to help you admin all of your VMs at once (no "ownership"). It uses the SOAP service (vboxwebsrv) that comes with VirtualBox servers to create a <a href="http://phpvirtualbox.googlecode.com/svn/wiki/images/phpvbsm.png">clean interface</a>.
</p>]]></description>
      <pubDate>Fri, 02 Mar 2012 08:25:16 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Sankuru Blog: Adding support for if/while/do while, to a simple compiler & virtual machine in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17346</guid>
      <link>http://www.phpdeveloper.org/news/17346</link>
      <description><![CDATA[<p>
Improving on his <a href="http://phpdeveloper.org/news/17327">last post</a> about creating a bytecode compiler in PHP, the Sankuru blog has a new post in the series looking at extending the basic compiler to <a href="http://sankuru.biz/blog/13-adding-support-for-if-while-and-do-while-to-a-simple-compiler-and-virtual-machine-written-in-php">add support for if/while and do while</a> logic.
</p>
<blockquote>
In order to obtain a <a href="http://en.wikipedia.org/wiki/Turing_completeness">turing-complete</a> programming language, that is, a language in which we can implement and execute any arbitrary algorithm, that is, that other turing-complete machines can execute too, we now need to add a way of (conditionally) branching, that is, the IF statement, and at least one way of repeating statements, that is the WHILE or the DO WHILE statements.
</blockquote>
<p>
He includes a simple TL-based script as an end goal for the compiler to be able to execute and shows how to add rules for it to the lexer/parser. Rules for the "if" are relatively simple, but there's a hitch in dealing with embedded "while" statements he had to work around. The post ends with the bytecode results for the sample program and the resulting output from the compiled versions execution.
</p>]]></description>
      <pubDate>Wed, 04 Jan 2012 11:40:22 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Sankuru Blog: A simple bytecode compiler with virtual machine, written in Php, for the EL language]]></title>
      <guid>http://www.phpdeveloper.org/news/17327</guid>
      <link>http://www.phpdeveloper.org/news/17327</link>
      <description><![CDATA[<p>
On the Sankuru blog there's a recent post looking at the construction of <a href="http://sankuru.biz/blog/6-a-simple-bytecode-compiler-with-virtual-machine-written-in-php-for-the-el-language">a simple bytecode compiler with a virtual machine</a> as written in PHP (for <a href="http://docs.oracle.com/javaee/1.4/tutorial/doc/JSPIntro7.html">Expression Language</a>).
</p>
<blockquote>
In my previous blog posts, I demonstrated how we can use the builtin PCRE library, to create a lexer in Php. I also showed how to use Bison-generated LALR1 parser tables in Php. In this blog post, I will re-use these lexing and parsing facilities to compile EL programs from within Php.
</blockquote>
<p>
He uses his lexer/parser (<a href="http://sankuru.biz/category/3-compiler-construction?download=10:bytecode-compiler-and-virtual-machine-in-php-for-a-simple-expression-language">available for download</a>) in an example program that outputs some values and does some simple mathematical operations. There's sections detailing the Bison grammar used, execution stacks, callbacks and the bytecode it produces.
</p>]]></description>
      <pubDate>Fri, 30 Dec 2011 11:06:36 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Using a virtual machine to play with multiple versions of PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17086</guid>
      <link>http://www.phpdeveloper.org/news/17086</link>
      <description><![CDATA[<p>
On DZone.com <i>Giorgio Sironi</i> has a new post talking about a development practice that's becoming more and more popular (rather than the old standby of one development platform for all developers) - <a href="http://css.dzone.com/articles/using-virtual-machine-play">using virtual machines as reusable, easily renewable platforms</a>. He talks about the process he went through to set up PHP, including the commands used during the process.
</p>
<blockquote>
This is an occasion to learn about a virtualization tool which I'm not familiar with, VirtualBox. The goal is to install PHP 5.4, which is not yet a stable release, to play around with new features such as traits without ruining the setup on my primary machine (which runs the super-stable PHP 5.3). Although it may be possible to run them together (I'm not a sysadmin), it's really simpler to install one of them in a virtual machine that can be thrown away if something goes wrong.
</blockquote>
<p>
Using <a href="http://virtualbox.org">VirtualBox</a> he describes the process of getting a Ubuntu system up and running including a custom compile of PHP with things like curl, bz2, mbstring and openssl support. With that installed and the Apache packages all set up, it should just be a matter of hitting your localhost's web server. If you're looking for older (or just other) versions of PHP to compile, check out <a href="http://php.net/releases/index.php">the Historical Releases</a> page on the PHP.net site.
</p>]]></description>
      <pubDate>Fri, 04 Nov 2011 10:15:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: From Zero to Cloud: Setting up an EC2 Sandbox, Part 3]]></title>
      <guid>http://www.phpdeveloper.org/news/16891</guid>
      <link>http://www.phpdeveloper.org/news/16891</link>
      <description><![CDATA[<p>
SitePoint's PHPMaster has a new post today, the third part of a series helping you get your application from "zero to cloud" on an Amazon EC2 setup. In <a href="http://phpmaster.com/from-zecro-to-cloud-3/">this latest post</a> they wrap things up by showing how to set up the full lamp stack on the remote server. <a href="http://phpmaster.com/from-zero-to-cloud-1/">Here's part one</a> and <a href="http://phpmaster.com/from-zero-to-cloud-2/">two</a> that lead up to this latest part.
</p>
<blockquote>
This is the final article in a three part series focused on setting up EC2 as a sandbox for application developers. I assume you have an AWS account with Amazon; if you don't, please read Part 1 to learn how easy it is to sign up. I also assume you have configured your development environment and installed an AMI; if you haven't, please read Part 2. In this installment, we'll learn how to install Apache, MySQL and PHP in our running AMI, and then clone the AMI to make our own.
</blockquote>
<p>
Included in the post are all the commands you'll need to get the packages installed for PHP, MySQL, Apache 2, PEAR and the PHP command line binary. With all of that installed, they show you how to create an <a href="http://aws.amazon.com/amis">AMI</a> (Amazon Machine Image) to make it easier to scale in the future. 
</p>]]></description>
      <pubDate>Thu, 22 Sep 2011 08:42:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP - Faster And Cheaper. Scale Vertically with IBM Power Systems]]></title>
      <guid>http://www.phpdeveloper.org/news/13158</guid>
      <link>http://www.phpdeveloper.org/news/13158</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today <i>Sam Hennessy</i> has <a href="http://devzone.zend.com/article/8735-PHP-Faster-And-Cheaper.-Scale-Vertically-with-IBM-Power-Systems">posted some information</a> about how the IBM Power Systems can help you and your PHP application both perform better and do it for less.
</p>
<blockquote>
If you're from the LAMP world, the concept of vertically scaling with a system like the i5 (IBM Power Systems) will be a complete revelation. If you follow the vertical scaling methodology, when it comes time to design how your application will scale, there is nothing for you to do. 
</blockquote>
<p>
With the i5 series all of the software runs locally and can be optimized for the best performance ("reduced complexity"). Virtual machines on the same physical machine make it quick and easy to create separate environments (like QA or staging). The system does a lot of the common maintenance tasks itself and could require less attention from the IT admins. You can find out more information about these machines from <a href="http://www-03.ibm.com/systems/power/">the IBM website</a>.
</p>]]></description>
      <pubDate>Thu, 03 Sep 2009 08:02:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alex Netkachov's Blog: Installing Debian Web-server with Apache, PHP, and MySQL on virtual machine]]></title>
      <guid>http://www.phpdeveloper.org/news/12152</guid>
      <link>http://www.phpdeveloper.org/news/12152</link>
      <description><![CDATA[<p>
<i>Alex Netkachov</i> has <a href="http://www.alexatnet.com/node/200">posted a new tutorial</a> to his blog today about installing a custom LAMP setup (Linux - Debian, to be exact, Apache, MySQL and PHP) inside of a virtual machine.
</p>
<blockquote>
Installing Linux is not a complex task, you only need to follow some instructions and have basic understanding of how computer software and hardware work. Also you should be ready that documentation will be different from what you already might have seen. It means that it may be less colorful, more technical, and have different terminology. That's Ok. What you need is only to follow the doc and try to understand it - like thousands of people.
</blockquote>
<p>
Most of the post is taken up with installing the Debian instance inside of a virtual instance (he mentions three, they're all about the same - <A href="http://www.virtualbox.org/wiki/Downloads">VirtualBox</a>, <a href="http://www.vmware.com/products/server/">VMWare Server</a> and <a href="http://www.microsoft.com/windows/downloads/virtualpc/default.mspx">VirtualPC</a>) and includes a slideshow of images to help you through the install process. Once its installed, its just a simple matter of a few apt-get commands and you'll have MySQL and PHP setup to work with the already-installed Apache instance.
</p>]]></description>
      <pubDate>Tue, 17 Mar 2009 11:13:52 -0500</pubDate>
    </item>
  </channel>
</rss>
