News Feed
Jobs Feed
Sections




News Archive
feed this:

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

Community News:
PuPHPet Adds Support for HHVM
February 21, 2014 @ 09:36:36

Juan Treminio passed along a note about his GUI-based virtual machine builder PuPHPet and some recent advancements in what it supports.

PuPHPet just added support for HHVM via FastCGI for Apache/Nginx and needs your help to create a VM and report any bugs encountered to make the experience as smooth as possible.

PuPHPet makes creating Vagrant/Puppet configurations much simpler and does a lot of the hard work for you. The project is also open sourced on GitHub so you can always add support for anything you might not see.

0 comments voice your opinion now!
puphpet hhvm hiphop virtualmachine vagrant puppet

Link: https://puphpet.com/

Erika Heidi:
Vagrant Usage Research
January 27, 2014 @ 10:15:07

If you've never heard of the powerful tool and you need automation around creating and configuring multiple virtual machines, you really should check it out. If you're curious as to how it's being used and what kind of things it's used for, check out this new post from Erika Heidi based on some research she recently did (and a survey she received some good feedback to).

From 11 to 14 of January, 720 Vagrant users from different sources (Twitter, IRC and the official Vagrant mailing list) answered a quick form I created to find out how people are using Vagrant. I'm currently in the process of writing a LeanPub book about this tool, and I was really curious especially about the provisioners usage.

She's put together the results in the form of an easy to read infographic with details about:

  • The most popular provisioners
  • The percentage of boxes running with OS
  • The percentage of languages on the boxes
  • The OS most Vagrant users use

...and finally the answer(s) to the question of "why vagrant?" but I'll leave it to you to read the post to find out that one.

0 comments voice your opinion now!
erika heidi vagrant usage research infographic survey

Link: http://www.erikaheidi.com/2014/01/24/vagrant-usage-research/

SitePoint PHP Blog:
Build Virtual Machines Easily with PuPHPet - Part 2
December 26, 2013 @ 10:18:52

On the SitePoint PHP blog Matthew Setter is back with the second part of his series looking at using PuPHPet to make VMs easily. In this second part, he continues on and looks more at the configuration files generated and tweaking them a bit.

We looked at how to configure most of the options and how to use the generated configuration, with some basic vagrant commands. But that's as far as we went. So in this second part of the series, we're going further. Specifically, we're going to be looking at the two core files used: common.yaml, and Vagrantfile. We'll be making some changes to them, then provisioning the virtual machines to reflect the configuration changes.

He talks about some of the changes he'll be making including the location of the shared folder and some of the setup of the PHP installation. He also updates the XDebug and MySQL configurations to change a few other options for more control over the resulting instance.

0 comments voice your opinion now!
tutorial part2 series puphpet puppet vagrant configuration update

Link: http://www.sitepoint.com/build-virtual-machines-easily-puphpet-part-2/

Alex Bilbie:
Using Vagrant and Ansible for distributing educational course virtual machines
December 20, 2013 @ 11:23:40

in his latest post Alex Bilbie shares a guide for the steps he follows to create virtual machines for an educational course using Vagrant and Ansible with a PHP+Apache environment set up and ready to go.

In "Cursory Thoughts on Virtual Machines in Distance Education Courses" Tony discuses using virtual machines in courses to help distribute software and operating systems to students who increasingly more and more are bringing in very different devices. [...] At the very end of the article Tony mentions using Vagrant which is a small piece of software to help "create and configure lightweight, reproducible, and portable development environments". [...] A better option [for managing VM deployment] would be to use another devops tool called Ansible which "is a powerful automation engine that makes systems and apps simple to deploy".

He includes both a sample Vagrantfile for configuring Vagrant and a YAML configuration for Ansible that sets up the VM, opens the needed ports and installs and configures the needed software.

Together the playbooks and the Vagrantfile can be distributed to the students and assuming they've installed Vagrant and Virtualbox for their OS they can be up and running with identical environments in just a few minutes.
0 comments voice your opinion now!
vagrant virtualmachine vm ansible configuration example

Link: http://alexbilbie.com/2013/12/vagrant-ansible-courses/

SitePoint PHP Blog:
Build Virtual Machines Easily With PuPHPet
December 19, 2013 @ 11:42:32

On the SitePoint PHP blog today Matthew Setter introduces you to a tool that can help make the setup and configuration of your Vagrant/Puppet development environments a lot easier - PuPHPet.

I can't speak for you, but one of my pet peeves about software development is environments. Whether it's creating and maintaining them for different projects with different needs; ensuring environment parity across a development team, (especially when they're remote); or between environments such as development, testing, and production. Across all of these, it can be a laborious task, especially when done manually. [...] In pursuit of ending this pain and making the entire process as efficient as possible, I set about the task of learning Vagrant & Puppet. [...] However, like most people in the modern world, I'm impatient. Like you, I have a lot going on, plus I was not seeking to become a guru. I felt there must be a way to come up to speed quickly but without becoming an aficionado.

This "better way" cam in the form of PuPHPet, a GUI tool (web-based) that lets you specify the options you want included in the configuration and generates the needed configuration files for you. This tool (created by Juan Treminio) makes it a lot simpler to get up and running quickly. Matthew walks you through a sample configuration and, with screenshots, and show you how to specify options for things like the web server, server software to install and PHP extensions to include.

0 comments voice your opinion now!
puphpet virtual machine vm puppet vagrant development environment

Link: http://www.sitepoint.com/build-virtual-machines-easily-puphpet/

PHP Town Hall:
Episode #16 Laravel 4.1, Go and the Vagrant Fistfight
December 03, 2013 @ 11:16:19

The PHP Town Hall podcast has released their latest show - Episode #16, "Laravel 4.1, Go and the Vagrant Fistfight" with guests Taylor Otwell and Zack Kitzmiller.

Taylor was the first guest we ever had on PHP Town Hall talking about his plans for Laravel 4 before it was even released, so it gives us a great opportunity to look back on the year and see how things have gone. We discuss the changes to Laravel and it's community, and discuss how various changes in the PHP ecosystem (like PHP 5.3 support becoming less of a demand) could effect Laravel 4.1.

You can listen to this latest episode in a few ways - either through the in-page player, by downloading the mp3 or, if you prefer, watching the live video recording as aired on a Google Hangout. If you enjoy the show, be sure to subscribe to their feed too.

0 comments voice your opinion now!
phptownhall ep16 laravel taylorotwell zackkitzmiller go vagrant podcast

Link: http://phptownhall.com/blog/2013/12/02/episode-16-taylor-otwell-laravel41/

David Adams:
PuPHPet and Digital Ocean (Screencast)
September 26, 2013 @ 10:39:30

Over on YouTube David Adams has posted a video showing you how to use PuPHPet with Digital Ocean. PuPHPet is a easy to use, graphical tool to help make building Vagrantfiles quick and easy. Digital Ocean bills itself as a cloud service "built for developers" that lets you spin up cloud servers quickly.

The video's about 30 minutes long, but it walks you through the entire process. It's a screencast you can easily follow along with. Unfortunately some of the text is a bit small (and hard to read full-screen) but he talks you through the commands too, which helps.

You can find out more about Digital Ocean's "droplets" here.

0 comments voice your opinion now!
screencast video digitalocean puphpet vagrant setup configuration

Link: https://www.youtube.com/watch?v=dHkTxWffGGA

Erika Heidi Reinaldo:
Optimizing Symfony applications on Vagrant boxes
September 25, 2013 @ 09:34:03

Ericka Heidi has a new post to her site today continuing on her theme of useful Vagrant advice with a look at optimizing Symfony applications on your Vagrant-managed instances.

A few months after I started playing around with Vagrant and Puppet, with smaller applications, I had the task to create a box for a Symfony app for the first time. I thought "all right, no problema! this will be a piece of cake, I already know the process, I just need to put it on puppet". And of course I was wrong.

Most of her problem revolved around performance - the Symfony applications were taking between 6 to 8 seconds to load. After trying several options (hardware and software), she narrowed it down to the overall I/O as the application was trying to access an NFS mounted directory for the "vendors" folder. She changed around the locations of some of the directories and was able to drop the page load times by quite a bit. She's posted the results of her work as a Vagrant file for easy download and use too.

0 comments voice your opinion now!
optimize symfony application vagrant instance vendor io performance

Link: http://www.erikaheidi.com/2013/09/24/optimizing-symfony-applications-vagrant-boxes/

Reddit.com:
How to get Laravel set up in a VM using PuPHPet
September 12, 2013 @ 13:50:51

On Reddit.com there's a new post from trymuchharder showing how to get a full environment - complete with Git, Composer, PHPUnit and an install of Laravel - up and running with Vagrant+PuPHPet. It's shared as a series of screencasts so you can follow along the whole process.

This took some time to get set up and i figure others can benefit from what i learned. [...] I've never done a screencast/tutorial and apparently the QuickTime/iMovie combo produces a super crappy video but hopefully you can distinguish which pixels are what. Please excuse my Texan accent and general ineptness when it comes to server stuff. [...] This all assumes you have the following installed to your local machine: Vagrant, VirtualBox, Composer, PHPUnit and Git.

It's a four part video series he's posted to YouTube (over on his account) and it shows the flow through the entire process including a small bit about using Laravel there at the end.

0 comments voice your opinion now!
laravel puphpet vagrant virtualbox virtualmachine

Link: http://www.reddit.com/r/PHP/comments/1m7r74/how_to_get_laravel_set_up_in_a_vm_using_puphpet/

Allan MacGregor:
First steps on HHVM
July 29, 2013 @ 13:16:09

In his previous post Allan MacGregor introduced the HipHop Virtual Machine (HHVM) and some of the functionality it offers. In this second part of the series sharing some "first steps" towards getting it running.

On a previous post "Introduction to HHVM" has no title attribute. we went over HHVM its history and the potential of running our PHP applications on top of it. Currently a few applications are fully supported like wordpress and drupal; more complex applications like Magento are still not 100% with HHVM due to bugs in the HHVM implementation. The first thing that we need to in order to start developing with HHVM is to setup a proper environment, for this case we are going to use a Vagrant Box.

He shows the steps to follow to get Vagrant up and working on your system (assuming you already have VirtualBox installed) and a base Ubuntu instance installed. Once its created and configured, then you can ssh into it and use apt-get to install all needed packages. There's a little bit of work you'll need to do to get ready for compiling the HHVM, but then you can clone the repository and run the build.

0 comments voice your opinion now!
hiphip virtualmachine vm tutorial series part2 install configure vagrant

Link: http://coderoncode.com/2013/07/27/first-steps-on-hhvm.html


Community Events











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


package language unittest performance component introduction opinion framework hack security facebook install database support podcast release application symfony2 composer hhvm

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