Jump to:

4970 Posts in 13728 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Anyone on Leopard w/o MAMP?

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: 1527 Views
  • darrcass
    Avatar
    Community Member
    3 Posts

    Anyone on Leopard w/o MAMP? Link to this post

    I am reluctant to use MAMP because I went to the trouble of getting xdebug-2.0.5 to work with my PHP install (entropy's 5.3.0-3) so here's the deal:

    1. Apache 2.2.11 (stock Leopard version)
    -mod_rewrite IS DEFINITELY enabled
    2. PHP 5.3.0-3
    3. MySql 5.1.x
    4. OSX 10.5.7

    I get everything set up on SS's install page, but when I go ahead with the install, SS complains that either I need to enable mod_rewrite (it already is) or that I need to set AllowOverride All. When I set AllowOverride ANYWHERE (in httpd.conf, httpd-userdir.conf,*HOME*.conf) and try to return to the install page, I get a "forbidden" error. Has anyone set this up on OSX without MAMP?

    BTW, if you're having trouble getting xdebug to work, I posted a solution: http://www.entropy.ch/phpbb2/viewtopic.php?t=4020

  • rsouthgate
    Avatar
    Community Member
    10 Posts

    Re: Anyone on Leopard w/o MAMP? Link to this post

    Yep, same problem for me.

    It is necessary to add FollowSymLinks to the directory options in your apache configuration to allow mod_rewrite to work. So for me, using an alias I have the following:

    Alias /mySilverstripeSite/ /Users/robinsouthgate/Workspaces/SilverStripeTest/

    <Directory "/Users/robinsouthgate/Workspaces/SilverStripeTest/">
    DirectoryIndex index.php
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    With that in place the installation goes through ok and I get no errors, but when it redirects me to my homepage I get a 404: The requested page couldn't be found. And then browsing to any pages that make use of sapphire (i.e. anything but the install.php) I get the same error.

    This 404 is returned by ModelAsController.php if it can't find the correct page to return once it analyses the url segments. At this point it's clear the newly created rewrites are working so something else is broken and I'm stuck!

  • rsouthgate
    Avatar
    Community Member
    10 Posts

    Re: Anyone on Leopard w/o MAMP? Link to this post

    My particular problems were because the database was corrupted probably from a previous failed install. Having added the symfollowlinks to options, I dropped the SS database and ran the install again and success!

  • ErwinEHVNL
    Avatar
    Community Member
    1 Post

    Re: Anyone on Leopard w/o MAMP? Link to this post

    I have set up my SS on OSX 10.5.7 with MAMP, and it worked out of the box... didn't even have to change any files...

    maybe if you post your exact problem, i might be able to help...

  • Bruce B
    Avatar
    Community Member
    145 Posts

    Re: Anyone on Leopard w/o MAMP? Link to this post

    I also opted for the non-MAMP route. It was last year so the details are a bit fuzzy now but after compiling a version of PHP that included GD, I was able to get it all working.

    And this by someone who normally will do anything to avoid typing the Terminal! So, it does work.

    I've attached my notes made at the time.

    1527 Views
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.