4848 Posts in 4925 Topics by 1458 members
|Go to End||Next >|
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
13 July 2009 at 9:31am
OK, I got it finally, here's the syntax that worked
where silverstripe folder is inside /users/jungle/sites/htdocs/
thanks all for your help.
21 February 2012 at 9:32am
I am using MAMP and the syntax that worked for me is:
3 March 2012 at 7:08pm
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?
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.
4 March 2012 at 1:55pm
..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.
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.
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
|Go to Top||Next >|