Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Apple Macintosh install and operational issues

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

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

Page: 1 2 3
Go to End
Author Topic: 4115 Views
  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    Well since you have /silverstripe/silverstripe-v.2.3.2/ then your path to dev/build would be http://localhost:80/silverstripe/SilverStripe-v2.3.2/dev/build

  • jungle
    Avatar
    Community Member
    6 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    OK, I got it finally, here's the syntax that worked

    http://localhost:80/silverstripe/SilverStripe-v2.3.2/dev/build?flush=1

    where silverstripe folder is inside /users/jungle/sites/htdocs/

    thanks all for your help.

  • Wired Ink
    Avatar
    Community Member
    5 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    I am using MAMP and the syntax that worked for me is:

    http://localhost/SilverStripe-v2.4.7/dev/build?flush=1

  • Maye
    Avatar
    Community Member
    6 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    Hello,

    When installing Silverstrip, I got the following:

    "magic_quotes_gpc is set to '1' in php.ini. This should be turned off, as it can cause issues with cookies. More specifically, unserializing data stored in cookies."

    How do I turn them off?

    Can anyone help me with this?

    Maye

  • Tim Snadden
    Avatar
    Community Member
    32 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    In your document root create a file called phpinfo.php and add the following:

    <?php phpinfo() ?>

    Browse to this page and look for Configuration File (php.ini) Path. This is the file you want to edit. Modify the magic_quotes_gpc value and restart your server.

  • Maye
    Avatar
    Community Member
    6 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    Thank you,

    ..But I'm a newbie in all this. For example, how do i create document root file with <?php phpinfo() ?> ?

    and how can i open the php.ini file? My computer does nothing when i double click on it.

    Maye

  • Tim Snadden
    Avatar
    Community Member
    32 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    I'm going to recommend that you use a package like MAMP (http://mamp.info/) to get a local server up and running. This is going to be more straightforward and should just work out of the box.

    If a file isn't opening in your desired editor you can right click on it and select 'open with...'. To fix this issue permanently select the file and hit command (apple key) + i, select 'open with', and select 'change all'.

    You may be better off starting with some introductory php tutorials rather than jumping straight into silverstripe.

  • novaweb
    Avatar
    Community Member
    115 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    Agree with Tim, MAMP is the best choice for developing SilverStripe/PHP on Mac. Using your own AMP (Apache, MySQL, Php) configuration is a headache unless you know what you're doing.

    Additional to his comment on php tutorials, here is a nice free one: http://www.w3schools.com/php/default.asp - click "Start learning PHP now"

    Once MAMP is installed, you need to edit the php configuration in MAMP. This is either located at /Applications/MAMP/conf/php5.2/php.ini or /Applications/MAMP/conf/php5.3/php.ini then search the file for "magic_quotes_gpc" and set it to 0

    4115 Views
Page: 1 2 3
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.