News Feed
Sections




News Archive
feed this:

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

SitePoint PHP Blog:
How to Use PHPbrew and VirtPHP
October 06, 2014 @ 13:08:41

Phil Sturgeon has written up a new tutorial for the SitePoint PHP blog showing you how to use PHPbrew and VirtPHP to be able to work with more than one PHP version on the same system.

We've all been in the situation where we have one version installed. Maybe that version is whatever came installed on our operating system. Maybe it is a version bundled into MAMP/WAMP/XAMPP. How do you go about switching that PHP version? How do you switch to one version, then switch back again? How do you go about switching that version of PHP, but only for one single application on your computer? The Ruby and Python communities have had tools for dealing with this for years. PHP has them now too, but there was nowhere near enough fanfare.

He starts with PHPbrew and walks you through a basic install and configuration of a version of PHP 5.6.0. He shows how to add extension support and switch between the different PHP versions at will. Next comes the look at VirtPHP, a similar system that takes a little bit different approach. It creates "environments" that contain the PHP version to a bit more isolated setup. With an environment created, VirtPHP lets you install PECL extensions without changing anything globally. He ends the post with a comparison to how most developers (developing locally) handle their setup and mentions Vagrant, but notes that it may be a bit much for the solo developer.

0 comments voice your opinion now!
virtphp phpbrew tutorial multiple version install configure

Link: http://www.sitepoint.com/use-phpbrew-virtphp/

Three Devs & A Maybe Podcast:
virtPHP with Jacques Woodcock and Ben Ramsey
May 22, 2014 @ 11:08:05

The Three Devs & a Maybe poscast has posted their latest episode, #25, featuring an interview with Jacques Woodcock and Ben Ramsey about the VirtPHP project (among other things).

This week we are very lucky to have Jacques Woodcock and Ben Ramsey from the virtPHP project on the podcast. Similar in nature to Python's 'virtualenv', virtPHP is a tool for creating and managing multiple isolated PHP environments on a single machine. Currently command-line support on *nix based-systems is complete, however, during the show we touch on the challenges in-regard to SAPI support. We then move on to discuss the interesting paths each took to get into development, followed up finally with the weekly quiz.

Other topics discussed include the discussions around the "demise of TDD", php[tek]/php[architect], the PHPNG patch, PHP The Right Way and many others. You can listen to this latest episode either through the in-page player or by downloading the mp3 directly.

0 comments voice your opinion now!
threedevsandamaybe podcast ep25 jaqueswoodcock benramsey virtphp

Link: http://threedevsandamaybe.com/posts/virtphp-with-jacques-woodcock-and-ben-ramsey/

PHP Town Hall:
Episode 23 VirtPHP - Managing Your Herd of ElePHPants
April 10, 2014 @ 13:37:50

The PHP Town Hall podcast has released their latest episode, Episode #23 - "VirtPHP - Managing Your Herd of ElePHPants" with special guests Jacques Woodcock and Jordan Kasper to talk about a tool they've created to help create isolated PHP environments, VirtPHP.

virtPHP is a tool for managing multiple environments on your development machine. It is similar to Python's virtualenv or Ruby's rbenv, but for PHP.

You can catch this episode in a few different ways: either just the audio through the in-page player or by downloading the mp3 or you can watch the video of the live Google Hangout recording.

0 comments voice your opinion now!
phptownhall ep23 virtphp environment management

Link: http://phptownhall.com/blog/2014/04/09/virtphp-managing-your-herd-of-php-versions/

Matthew Turland:
Travis and Composer and virtPHP, oh my!
March 27, 2014 @ 10:28:55

Matthew Turland has a new post today to his site looking at the combination of three different technologies - TravisCI, Composer and VirtPHP - and an odd error he was getting from his build about a missing requirement "php".

In the first build, everything worked fine under 5.4 and 5.5, but upon getting to the composer install instruction to install project dependencies and PHPUnit, the job for 5.3 failed with some rather unintuitive output from Composer that implied it didn't recognize the platform package requirement that I'd provided for the minimum PHP version. [...] Since the cause of my issue wasn't immediately obvious from Composer's output, my first thought was that I needed to begin my attempt at troubleshooting the issue by replicating it on my local machine.

This is where VirtPHP came in. This tool provides an environment where you can install and configure multiple PHP configurations and switch between them easily. It provides a "glue" between the phpenv and php-build projects to make management of the results simpler. He talks about how he configured and set up his environments...and figured out his Composer problem.

0 comments voice your opinion now!
travisci composer error virtphp environment

Link: http://matthewturland.com/2014/03/26/travis-and-composer-and-virtphp-oh-my


Community Events





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


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

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