Jump to:

4937 Posts in 16240 Topics by 1489 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Installing Silverstripe on 1 and 1 server

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

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

Page: 1
Go to End
Author Topic: 1278 Views
  • fleisch
    Community Member
    2 Posts

    Installing Silverstripe on 1 and 1 server Link to this post

    I am trying to install Silverstripe on a 1 and 1 server. I have set up a MSql database with php 5.0 for this particular site. When I run the install.php I get:

    To run SilverStripe, please install PHP 5.0 or greater.

    We have detected that you are running PHP version 4.4.9. In order to run SilverStripe, you must have PHP version 5.0 or greater, and for best results we recommend PHP 5.2 or greater.

    If you are running on a shared host, you may need to ask your hosting provider how to do this.

    I haven't even been able to setup which database it goes to with username and password which would direct it to the MySql that is php version 5.0.

    Any suggestions.


  • Devlin
    Community Member
    215 Posts

    Re: Installing Silverstripe on 1 and 1 server Link to this post

    Hi Fleisch,

    Open the .htaccess file and add:

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    Once the installation is complete you have to add both lines to the .htaccess file once again because SilverStripe has the habit to edit this file during the setup.

    Edit: http://hilfe-center.1und1.de/hosting/scripte_datenbanken/php/17.html?article_searchpos=1

  • fleisch
    Community Member
    2 Posts

    Re: Installing Silverstripe on 1 and 1 server Link to this post

    I have changed my .htaccess file to:

    <Files *.ss>
    Order deny,allow
    Deny from all
    Allow from
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    <IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)

    RewriteCond %{REQUEST_URI} ^(.*)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]

    php_value memory_limit 64M

    When it starts the install i get the following:

    If you receive a fatal error, refresh this page to continue the installation

    * Creating 'mysite/_config.php'...
    * Creating /homepages/11/d248881978/htdocs/komoninn/mysite/_config.php
    * Creating '.htaccess' file...
    * Creating /homepages/11/d248881978/htdocs/komoninn/.htaccess
    * Building database schema...
    * Checking that friendly URLs work...
    * Friendly URLs are not working. This is most likely because mod_rewrite isn't configuredcorrectly on your site. Please check the following things in your Apache configuration; you may need to get your web host or server administrator to do this for you:
    o mod_rewrite is enabled
    o AllowOverride All is set for your directory

    Any ideas where or what I should try from here. Thanks for the help!

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.