News Feed
Sections




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

ServerGrove Blog:
How to setup multiple PHP versions on Apache
August 23, 2011 @ 11:07:38

On the ServerGrove blog today there's a new post from Ishmael about setting up multiple versions of PHP on one Apache instance with the help of FastCGI.

There are several reasons you might need to run multiple versions of PHP on the same server. Maybe you have a PHP 5.2 application running on your server and you need to start working on another application based on a new framework like Symfony2 or Lithium? Perhaps you haver a client with a legacy site that runs PHP 5.2, or maybe you simply want to test some of the new functionality? This post is going to explain how to setup a server to run multiple versions of PHP.

Normally, Apache can only be compiled with one version of PHP, but FastCGI gets around that by letting you define it in a configuration file instead. They also include support for defining the user the process runs as (suexec) that helps to make permissions issues lesser. Included are all of the command-line calls and config settings you'll need to make to get things set up.

0 comments voice your opinion now!
multiple version tutorial apache fastcgi suexec


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Data Structures for PHP Devs: Graphs

Dublish.com: Captcha - Spam preventing images

PHPMac.com: Building and Installing Apache 2.2.0 and PHP 5.1.2 on Mac OS X 10.4.4

Cats Who Code: Sending SMS with PHP and TextMagic: An A to Z guide

DevSnippets.com: Getting Started with CodeIgniter and How to Create All Those Great Apps


Community Events

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


list library series introduction language podcast extension framework voicesoftheelephpant laravel interview api opinion laravel5 version php7 community release security example

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