Meta

  1. Recent blog posts

  1. Papers and HowTos

Recent output

  1. March 2007

  2. PHP and (Sun|Open) Web Server in a hosted environment

    Tue, 03/13/2007 - 00:59 — jmccabe

    [Note: I no longer work for Sun. I am slowly migrating the more worthwhile blog entries I made for Sun to my own blog. I need the Google love.]

    Originally posted on Oct 2, 2007:

    A question was asked on our forums about how to use PHP and FastCGI in a hosted environment. The goal was to give each user their own PHP process in order to protect each user from potential security and performance problems associated with sharing a PHP engine with several virtual servers. I started thinking about this and took a whack at a quick solution using Web Server 7.0's environment variables to use the same PHP binary with a separate engine bound to each virtual server (keying off of the Host name of the domain). I also extended this to allow each VS to have its own php.ini file:

     

Small Things

  1. Monthly archive