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

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


Stuart Herbert's Blog:
Using suexec To Secure A Shared Server
December 18, 2007 @ 12:09:00

One of the more frustrating things about working on a shared server is trying to keep it secure while still giving users some flexibility in their environments. Stuart Herbert has continued his series looking at combating issues like this with this look at installing suexec to secure a shared server.

The challenge with securing a shared hosting server is how to secure the website from attack both from the outside and from the inside. PHP has built-in features to help, but ultimately it's the wrong place to address the problem.

His guide steps through the entire process - getting the software, configuring Apache (with the PHP/CGI installation) and configuring suexec, both for the default install and then for the shared server settings. There's even a few brief benchmarks showing the speed of execution for scripts with and without the suexec environment.

0 comments voice your opinion now!
suexec shared server install guide cgi apache suexec shared server install guide cgi apache



Community Events





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


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

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