17487 Posts in 4473 Topics by 1978 members
|Go to End|
Core Development Team
17 September 2007 at 10:06am Last edited: 17 September 2007 3:08pm
Andrew, can you have a look at installing SilverStripe on a Mac when using Mark Liyanage's PHP package for MacOSX? I was talking with someone yesterday who was running into installation problems to do with PHP settings.
I don't think it has as high a usage as MAMP, but any improvement done to the installer to solve the problem would presumably fix problems experienced by others, too.
By the looks of, the major possible problem would be that it configures php.ini with short_tags disabled. Other than that, check the memory limit...
I wonder if a possible fix is just to include an .htaccess file with PHP flags fixing the above, and people can manually chuck that stuff in? You could even consider putting these sorts of flags in, uncommented? (I don't know if I'm happy with an .htaccess file with a whole bunch of directives in there already. What do others thing of that?)
17 September 2007 at 11:39am
The Mark Liyanage packages are generally quite good, but they're not as isolated as MAMP. And it's quite easy to get yourself in a messy state if you're installing select dmg's.
There's really nothing special in the SilverStripe sense about the Liyanage packages that makes it a different situation from any other. It's possible for a developer to have their system in state X, where state X is a combination of Apache, PHP, mysql that may have come from different sources. The one exception is MAMP in that MAMP is isolated under /Application/MAMP and requires just a few php.ini changes to get it to work w/SS.
We have documented requirements and the installer attempts to do its best to figure stuff out. However, sometimes a developer may not have, say, GD compiled into PHP, which is a more serious issue (for SilverStripe) than just fixing a php.ini setting.
What we'll do is update the installer and wiki documentation to point people in good directions if there are problems the installer can't deal with (such as suggesting people use MAMP), but I don't believe we should be providing Liyanage-specific anything.
17 September 2007 at 1:25pm
I've fixed the installer so that it works with short_tags disabled, so that shouldn't be a problem anymore. But as Brian pointed out, theres a lot of variables that we can't account for. I've updated the server requirements wiki page with some more info, and the installer now provides a link to this page when it displays a configuration warning or error.
|Go to Top|