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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

Apple Macintosh install and operational issues


Go to End


23 Posts   7114 Views

Avatar
Willr

Forum Moderator, 5523 Posts

12 July 2009 at 4:53pm

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

Avatar
jungle

Community Member, 6 Posts

13 July 2009 at 9:31am

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.

Avatar
Wired Ink

Community Member, 5 Posts

21 February 2012 at 9:32am

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

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

Avatar
Maye

Community Member, 6 Posts

3 March 2012 at 7:08pm

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

Avatar
Tim Snadden

Community Member, 32 Posts

4 March 2012 at 8:33am

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.

Avatar
Maye

Community Member, 6 Posts

4 March 2012 at 1:55pm

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

Avatar
Tim Snadden

Community Member, 32 Posts

5 March 2012 at 8:08am

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.

Avatar
novaweb

Community Member, 116 Posts

5 March 2012 at 11:11am

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