Last active
August 29, 2015 14:15
-
-
Save AshKyd/435767564f53152049b5 to your computer and use it in GitHub Desktop.
Silverstripe with sqlite3 dev environment on Fedora (PHP 5.4+)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fedora-specific PHP environment setup | |
yum install php php-mbstring php-mysql php-gd | |
# Manually install composer via https://getcomposer.org/download/ | |
# Install Silverstripe & sqlite driver | |
composer create-project silverstripe/installer ./ 3.1.10 | |
composer require silverstripe/sqlite3 1.3.*@dev | |
# Launch the dev PHP server | |
php -S localhost:8000 ./framework/main.php | |
# Install SS via http://localhost:8000/ | |
# Login via http://localhost:8000/admin |
For sure, setting up a LAMP stack is one of the biggest barriers for me getting started with SilverStripe.
As a side note, is there a way with Composer to install Silverstripe "latest stable" without explicitly setting the version number?
yes, you should just be able to run
composer create-project silverstripe/installer /path/to/install/
I'm interested in what
(preg_match('/\./', \$_SERVER[\"REQUEST_URI\"]))
does? I've tried with just starting the server and pointing to ./framework/main.php which seems to work ok.
Perfect, yes that's doing the same thing better.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice one, would you be keen to add this to our installation documentation as a "how to"?