Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to find a service similar to Google App Engine for PHP/ MySQL/ Postgres sites/ applications.

We host two different types of site.

i). PHP/ Mysql/ Zend Framework

<VirtualHost *:80>
   DocumentRoot "/home/websites/"

   # This should be omitted in the production environment
   SetEnv APPLICATION_ENV development

   <Directory "/home/websites/">
       Options Indexes MultiViews FollowSymLinks
       AllowOverride All
       Order allow,deny
       Allow from all

        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} -s [OR]
        RewriteCond %{REQUEST_FILENAME} -l [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^.*$ - [NC,L]
        RewriteRule ^.*$ index.php [NC,L]


ii). Matrix CMS - PHP/ Postgres + loads of pear classes

<VirtualHost *:80>
DocumentRoot /home/websites/mysource_matrix/core/web

Options -Indexes FollowSymLinks

<Directory /home/websites/mysource_matrix>
  Order deny,allow
  Deny from all
<DirectoryMatch "^/home/websites/mysource_matrix/(core/(web|lib)|data/public|fudge)">
  Order allow,deny
  Allow from all
<DirectoryMatch "^/home/websites/mysource_matrix/data/public/assets">
  php_flag engine off

<FilesMatch "\.inc$">
  Order allow,deny
  Deny from all
<LocationMatch "/(CVS|\.FFV)/">
  Order allow,deny
  Deny from all

Alias /__fudge   /home/websites/mysource_matrix/fudge
Alias /__data    /home/websites/mysource_matrix/data/public
Alias /__lib     /home/websites/mysource_matrix/core/lib
Alias /          /home/websites/mysource_matrix/core/web/index.php/

My key requirements are:

  1. I don't want to worry/ know/ care about the server/ infrastructure
  2. Secure/ up to date software/ os
  3. Good monitoring
  4. Automatic scalability
  5. SLA

I apologise for the length of the question.

In short all I want to do is i). create vhost, ii). create db iii). install app/ site iv). relax.



I include the Matrix vhost because that is the only complication that I cannot really do via a .htaccess file.

share|improve this question

You can use vhost with Python (complete source code here) and different Namespaces for Datastore and MemCache Entities.

application_default = webapp.WSGIApplication([('/', DefaultMainPage)],debug=False)
application_test = webapp.WSGIApplication([('/', TestMainPage)],debug=True)

def main():
  import os
  if os.environ['HTTP_HOST'].startswith('test.'): 
share|improve this answer
Welcome to Server Fault! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. As you appear to be the author why not post the script here - all the links are nofollow anyway. – Iain Nov 14 '11 at 17:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.