用于PHP / MySQL和Postgres的Web应用程序/站点服务(如Google App Engine)

我想find类似于Google App Engine for PHP / MySQL / Postgres站点/应用程序的服务。

我们主办两种不同types的网站。

一世)。 PHP / Mysql / Zend框架

<VirtualHost *:80> DocumentRoot "/home/websites/website.com/public" ServerName website.com # This should be omitted in the production environment SetEnv APPLICATION_ENV development <Directory "/home/websites/website.com/public"> 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] </Directory> </VirtualHost> 

ⅱ)。 Matrix CMS – PHP / Postgres +加载的梨类

 <VirtualHost *:80> ServerName server.example.com DocumentRoot /home/websites/mysource_matrix/core/web Options -Indexes FollowSymLinks <Directory /home/websites/mysource_matrix> Order deny,allow Deny from all </Directory> <DirectoryMatch "^/home/websites/mysource_matrix/(core/(web|lib)|data/public|fudge)"> Order allow,deny Allow from all </DirectoryMatch> <DirectoryMatch "^/home/websites/mysource_matrix/data/public/assets"> php_flag engine off </DirectoryMatch> <FilesMatch "\.inc$"> Order allow,deny Deny from all </FilesMatch> <LocationMatch "/(CVS|\.FFV)/"> Order allow,deny Deny from all </LocationMatch> 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/ </VirtualHost> 

我的关键要求是:

  1. 我不想担心/知道/关心服务器/基础设施
  2. 安全/最新的软件/操作系统
  3. 良好的监控
  4. 自动扩展性
  5. SLA

我对这个问题的长度表示抱歉。

总之我要做的就是我)。 创build虚拟主机,ii)。 创build数据库iii)。 安装应用程序/网站iv)。 放松。

谢谢。

编辑:

我包含了Matrix vhost,因为这是我通过.htaccess文件无法做到的唯一复杂function。

您可以在Python中使用vhost( 完整的源代码在这里 )以及Datastore和MemCache实体的不同Namespaces。

 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.'): run_wsgi_app(application_test) else: run_wsgi_app(application_default)