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

SitePoint PHP Blog:
How to Run Multiple Versions of PHP on One Server
Nov 07, 2014 @ 10:54:27

The SitePoint PHP blog has a new tutorial by Thien Tran Duy showing you how to run multiple versions of PHP all on the same server. The key is in using a few custom configuration options (you'll be compiling PHP manually for this) to place the different versions in different locations.

In this particular post, we’ll demo a solution to install multiple versions of Phalcon and PHP and run them on a single web server. PHP 5.5.x and 5.6.x will be used here, but you can replace them with other versions. Any servers that support PHP-FPM should be enough but we recommend using Nginx. The environment used in this tutorial is Fedora OS – a Linux system, but the instructions are almost identical for any other *nix OS.

The tutorial also includes the installation of a few other PHP extensions including APC caching, memcache and ioncube. He walks you through the installation of Nginx first to get the web server up and running. Then he starts in on the PHP installs and the requirements to ensure you have to be able to compile from the PHP source. He shows how to pull the different versions of PHP down (5.3, 5.4, 5.6 and master) from the GitHub repository and execute the "buildconf" to make the configure script. He includes the example configuration command with options, ensuring it will work with PHP-FPM and the Nginx server. He then reproduces the process, making slight changes, for the other versions of PHP. Finally, he shows the installation of the two different versions of Phalcon and configuring it to all work with the installed web server.

tagged: multiple version one server language tutorial phpfpm nginx

Link: http://www.sitepoint.com/run-multiple-versions-php-one-server/

That Podcast:
Episode 7.5: The Short One in London
Sep 29, 2014 @ 13:52:09

That Podcast has posted their latest episode today, a shorter add-on to their previous episode (#7): Episode 7.5, "The Short One in London".

Beau and Dave recap SymfonyLive London 2014 in their first live in person recording.

Topics mentioned in this episode include Mybuilder.com, Behat, Drupal and Game of Thrones (along with several members of the community). You can listen to this latest episode either through the in-page player or by downloading the mp3 of the show. If you enjoy the show, check out others in their list and be sure to subscribe to their feed for the latest as they're released.

tagged: thatpodcast ep7.5 short one london symfonylive live recording

Link: http://thatpodcast.io/episodes/episode-7-5-the-short-one-in-london/

Kian Hui Teo's Blog:
Switching between PHP 5.1.x and Zend Core for Oracle
May 22, 2006 @ 17:46:32

Via this post from Christopher Jones we learn about Kian Hui Teo's blog post talking about making the switch between the normal PHP 5.1.x installation and the Zend Core for Oracle.

This situation arises as I had installed Zend Core for Oracle (ZCO), and I wanted to try out some PDO functions. As ZCO comes with PHP 5.0.5, I was stuck, and PDO is only included from PHP 5.1.x onwards, I had to install PHP 5.1.x on my Windows box so that I can play with PDO. The assumption is that we have ZCO installed and working with a Apache2 server. I share the steps here on how to install another version of PHP so that it will co-exist peacefully with ZCO.

The post outlines a process to allow both the Zend Core and a normal installation of PHP 5.1.x to live peacefully (and still be able to switch from one to the other at any time). It's actually a relatively simple ten-step process to follow, especially if you've had much experience with installing PHP from scratch. When complete, you can start up one or the other, making it easy to test scripts in both or to just use the functionality in one (as he needed with PDO).

tagged: zend core oracle php5 switch one machine pdo zend core oracle php5 switch one machine pdo

Link:

Kian Hui Teo's Blog:
Switching between PHP 5.1.x and Zend Core for Oracle
May 22, 2006 @ 17:46:32

Via this post from Christopher Jones we learn about Kian Hui Teo's blog post talking about making the switch between the normal PHP 5.1.x installation and the Zend Core for Oracle.

This situation arises as I had installed Zend Core for Oracle (ZCO), and I wanted to try out some PDO functions. As ZCO comes with PHP 5.0.5, I was stuck, and PDO is only included from PHP 5.1.x onwards, I had to install PHP 5.1.x on my Windows box so that I can play with PDO. The assumption is that we have ZCO installed and working with a Apache2 server. I share the steps here on how to install another version of PHP so that it will co-exist peacefully with ZCO.

The post outlines a process to allow both the Zend Core and a normal installation of PHP 5.1.x to live peacefully (and still be able to switch from one to the other at any time). It's actually a relatively simple ten-step process to follow, especially if you've had much experience with installing PHP from scratch. When complete, you can start up one or the other, making it easy to test scripts in both or to just use the functionality in one (as he needed with PDO).

tagged: zend core oracle php5 switch one machine pdo zend core oracle php5 switch one machine pdo

Link:

Davey Shafik's Blog:
php|tek Days 0 & 1
Apr 26, 2006 @ 16:18:33

Davey Shafik has already gotten some of his experiences down in blog post form from the php|tek conference today, actually starting with the day previous in his Day 0 and Day 1 posts.

In the Day 0 post he just mentions arriving at the conference and getting things ready, but Day 1 sees him giving his "Future Deployment of PHP Applications" talk and his upcoming "Migration to PHP 5.1".

He also mentions videoing the presentation from today ("Deployment" talk) and is hoping to get a Flash video of the presentation up for all to see post-conference (a great idea for non-attendees).

tagged: phptek conference blog days zero one talks video flash movie phptek conference blog days zero one talks video flash movie

Link:

Davey Shafik's Blog:
php|tek Days 0 & 1
Apr 26, 2006 @ 16:18:33

Davey Shafik has already gotten some of his experiences down in blog post form from the php|tek conference today, actually starting with the day previous in his Day 0 and Day 1 posts.

In the Day 0 post he just mentions arriving at the conference and getting things ready, but Day 1 sees him giving his "Future Deployment of PHP Applications" talk and his upcoming "Migration to PHP 5.1".

He also mentions videoing the presentation from today ("Deployment" talk) and is hoping to get a Flash video of the presentation up for all to see post-conference (a great idea for non-attendees).

tagged: phptek conference blog days zero one talks video flash movie phptek conference blog days zero one talks video flash movie

Link:

Jim Plush's Blog:
MyBic AJAX/PHP framework in top 1% of SourceForge projects in 4 days!
Apr 10, 2006 @ 14:59:28

Congratulations are in order to Jim Plush for him and his MyBic PHP/Ajax framework. They made it up to the top one percent of SourceForge projects in the span of four days.

I'm happy to say the My-Bic AJAX/PHP framework has been well accepted by the SourceForge community. Of 117,000+ projects on SourceForge MyBic has jumped to #1000 in just 4 days and is climbing each day. The new features of My-Bic have made it a top contender for ajax enabled php applications. Development continues on the project to further support the needs of the casual developer's home page as well as the enterprise needs of a full web-based desktop application.

He follows this with a listing of the latest features of the current version (0.6) of the framework, including an install of only three files, the EasyForms functionality, built-in network issue handling, and a simple two lines of Javascript to use the library.

tagged: top one percent mybix ajax framework sourceforge top one percent mybix ajax framework sourceforge

Link:

Jim Plush's Blog:
MyBic AJAX/PHP framework in top 1% of SourceForge projects in 4 days!
Apr 10, 2006 @ 14:59:28

Congratulations are in order to Jim Plush for him and his MyBic PHP/Ajax framework. They made it up to the top one percent of SourceForge projects in the span of four days.

I'm happy to say the My-Bic AJAX/PHP framework has been well accepted by the SourceForge community. Of 117,000+ projects on SourceForge MyBic has jumped to #1000 in just 4 days and is climbing each day. The new features of My-Bic have made it a top contender for ajax enabled php applications. Development continues on the project to further support the needs of the casual developer's home page as well as the enterprise needs of a full web-based desktop application.

He follows this with a listing of the latest features of the current version (0.6) of the framework, including an install of only three files, the EasyForms functionality, built-in network issue handling, and a simple two lines of Javascript to use the library.

tagged: top one percent mybix ajax framework sourceforge top one percent mybix ajax framework sourceforge

Link:

Zend Developer Zone:
Blueprint for PHP Applications - Bootstrapping (Part 1)
Mar 31, 2006 @ 07:23:08

From the Zend Developer Zone today, there's the continuation of their "Blueprint for PHP Applications" series, this time focusing on bootstrapping (part 1).

The definition (of bootstrapping) from Wikipedia has more flair to it than I can probably give this article, but nonetheless bootstrapping is an incredibly important part of a PHP web application. It is the ignition, the launch-pad, the booster rockets, and even the safety gear for our trip through PHP Best Practices. Without a well designed bootstrap, our application will never get off the ground.

The general idea behind the bootstrapping is forcing all of the requests to a domain to be funneled through a central script and branching out from there. They talk about how to use Rewrite rules to accomplish this and how to set the setup. He finishes the post off by bringing it back to the layout of the application, pointing out where it fits in.

tagged: blueprint application bootstrapping part one blueprint application bootstrapping part one

Link:

Zend Developer Zone:
Blueprint for PHP Applications - Bootstrapping (Part 1)
Mar 31, 2006 @ 07:23:08

From the Zend Developer Zone today, there's the continuation of their "Blueprint for PHP Applications" series, this time focusing on bootstrapping (part 1).

The definition (of bootstrapping) from Wikipedia has more flair to it than I can probably give this article, but nonetheless bootstrapping is an incredibly important part of a PHP web application. It is the ignition, the launch-pad, the booster rockets, and even the safety gear for our trip through PHP Best Practices. Without a well designed bootstrap, our application will never get off the ground.

The general idea behind the bootstrapping is forcing all of the requests to a domain to be funneled through a central script and branching out from there. They talk about how to use Rewrite rules to accomplish this and how to set the setup. He finishes the post off by bringing it back to the layout of the application, pointing out where it fits in.

tagged: blueprint application bootstrapping part one blueprint application bootstrapping part one

Link: