aboutsummaryrefslogtreecommitdiffstats
path: root/install/hosting.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2009-03-16 17:04:13 +0000
committerpatdenice <patdenice@piwigo.org>2009-03-16 17:04:13 +0000
commit796cbc835020db800660443a31d617855d3f7640 (patch)
tree69c52cee8712200751521cb1256e11499a1dae49 /install/hosting.php
parentbbc19a5dc92468f02de74a254f7f4defc68c146a (diff)
merge r3203 from trunk to branch 2.0.
Move template class inclusion to common.inc.php. Add forum link in upgrade page. Install and upgrade try to configure PHP5. git-svn-id: http://piwigo.org/svn/branches/2.0@3204 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/hosting.php')
-rw-r--r--install/hosting.php59
1 files changed, 59 insertions, 0 deletions
diff --git a/install/hosting.php b/install/hosting.php
new file mode 100644
index 000000000..a46f71630
--- /dev/null
+++ b/install/hosting.php
@@ -0,0 +1,59 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+
+/* PHP5 configuration for known servers */
+$hosting = array(
+
+ //1and1
+ 'kundenserver.de' => 'AddType x-mapp-php5 .php',
+
+ //Apinc
+ 'apinc.org' => 'AddHandler x-httpd-php5 .php',
+
+ //Free
+ 'free.fr' => 'php 1',
+
+ //Lost Oasis
+ 'lost-oasis.net' => 'PHP_Version 5.0',
+ 'lo-data.net' => 'PHP_Version 5.0',
+
+ //MediaTemple
+ 'gridserver.com' => 'AddHandler php5-script .php',
+
+ //Online
+ 'online.net' => 'AddType application/x-httpd-php5 .php',
+
+ //Ouvaton
+ 'web.ocsa-data.net' => 'AddHandler application/x-suexec-php5 .php',
+
+ //OVH
+ 'ovh.net' => 'SetEnv PHP_VER 5',
+
+ //Strato
+ 'rzone.de' => 'AddType application/x-httpd-php5 .php',
+
+ //Web1.fr - NFrance
+ 'nfrance.com' => 'AddHandler php-fastcgi5 .php',
+);
+?> \ No newline at end of file