I'm trying to install SilverStripe but not on a LAMP stack. I have Apache on the localhost and MySQL on another server. How do I get SilverStripe to install under these conditions? I've looked for the DB connection information in the downloaded files but I've haven't (so far) been able to find it. Is it hard-coded somewhere?
Your database details will either be in the _ss_environment file or in mysite/_config.php. If it is in the _config.php file do a search for the $db variable and replace localhost with the IP or server name of my MySQL server.
Thanks, as it happens I didn't need to look there or change that.
On the install page I simply went down to the database section and filled in the details there. I was confused by the fact that the error and the "Recheck" button appears *before* the section where you put in the database details. I put my DB server name and details into the DB section, clicked the "Recheck" button *above* the details and it all worked. I note that there is a "Recheck" button *after* the database details too.
After it installed and the dust settled I looked at the _config.php and there were my DB details. Cool.
That will teach me to read everything on the page....