Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » 500 Internal Server Error

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: 3736 Views
  • pmg
    Community Member
    10 Posts

    500 Internal Server Error Link to this post

    I am totally new on silverstripe and trying to install it locally with MAMP.
    I installed it once and i saw the configuration page saying that i had to get a .htaccess file, after i done that i got this:
    500 Internal Server Error. No matter what i tried it for several times but i cant get it rolling?

    What is wrong?

    I saw something in an early post about emtying tmp/cache ?
    I cant see such directory?


  • BLU42 Media
    Community Member
    71 Posts

    Re: 500 Internal Server Error Link to this post

    When you set up a new SS site on MAMP, if you just drag the unzipped files to the htdocs folder, you'll miss transferring the .htaccess file. You could try dragging the unzipped SS folder to your MAMP folder and renaming it htdocs.

    If that doesn't work for you, then you can create a new .htaccess file. The default .htaccess file is as follows:

    <IfModule mod_dir.c>
    DirectorySlash Off

    RewriteEngine On
    RewriteBase /

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

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

  • Willr
    Forum Moderator
    5508 Posts

    Re: 500 Internal Server Error Link to this post

    Have alook at your PHP error logs. It might have something that can help. You can find MAMPs logs in /Applications/MAMP/logs/

  • pmg
    Community Member
    10 Posts

    Re: 500 Internal Server Error Link to this post

    Thanks for your answers, i now have the site on my host and now it works as supposed to.
    I did not get it to work with MAMP on my computer.

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.