Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Silverstripe install problem @1and1 Server USA


Reply

4 Posts   2628 Views

Avatar
Newbie2009

13 May 2010 at 10:27am (Last edited: 13 May 2010 10:28am), Community Member, 11 Posts

Hi Community,

I searched in this Forum about a solution to install silverstripe 2.4 on a 1and1 webserver (usa). I had many problems to do that and I found no solution?

I modified the .htaccess file with that code: AddType x-mapp-php5 .php // I have php5 now :)

I have 777 to every silverstripe file.

Now I have the install routine. But it says me this 2 errors:

Server software   Unknown web server

URL rewriting support   You need mod_rewrite to use friendly URLs with SilverStripe, but it is not enabled.

Database server exists   I couldn't find a database server on 'db2423.perfora.net ': Unknown MySQL server host 'db2423.perfora.net ' (1)

I made no mistakes with database and I also have access with phpMyadmin or MYSQLDUMPER.

I found that thread but the problem is still the same: http://www.silverstripe.org/archive/show/4470

my .htaccess

AddType x-mapp-php5 .php

### SILVERSTRIPE START ###
<Files *.ss>
   Order deny,allow
   Deny from all
   Allow from 127.0.0.1
</Files>

<Files web.config>
   Order deny,allow
   Deny from all
</Files>

<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteCond %{REQUEST_URI} ^(.*)$
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>
### SILVERSTRIPE END ###

Please help me! The 1and1 support is also not able to help grrrrrrrr

Thank very much!

Avatar
youngmug

13 May 2010 at 1:17pm Community Member, 19 Posts

When you created the database, did you choose MySQL 5?

Also, double-check that the hostname is correct.

Avatar
Newbie2009

13 May 2010 at 9:23pm Community Member, 11 Posts

Yes it is MYSQL 5 and I controled everything several times with the control panel.

I tryed localhost also but the name is db2423.perfora.net for the server. The username is correct and the database name also.

I don't understand that?

Somebody wrote I have to write in the .htaccess

RewriteBase /

on which position? Nothing happens?

I hate 1and1 always problems with that servers.

Please help Community!

Avatar
speedofmac

30 June 2010 at 7:20am Community Member, 10 Posts

I'm having this same problem. I set up a SilverStripe installation on my 1and1 server, and everything works fine. I'm trying to set up one on another server using a 1and1 database (host name: db2xxx.perfora.net) and I'm getting the same error as above:

Database server exists   I couldn't find a database server on 'dbxxx.perfora.net': Unknown MySQL server host 'db2xxx.perfora.net' (1)

I tried connecting to an existing database, then I created a new one to see if that changed things, but I'm still getting the error.