Skip to content

Instantly share code, notes, and snippets.

@Caroga
Created March 10, 2016 08:41
Show Gist options
  • Save Caroga/13c359fc87cb3fcffeb6 to your computer and use it in GitHub Desktop.
Save Caroga/13c359fc87cb3fcffeb6 to your computer and use it in GitHub Desktop.
docker run -v $PWD:/srv composer create-project laravel/laravel my-project "~5.0.0" --prefer-dist
Installing laravel/laravel (v5.0.22)
- Installing laravel/laravel (v5.0.22)
Downloading: 100%
Created project in my-project
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for laravel/framework v5.0.16 -> satisfiable by laravel/framework[v5.0.16].
- laravel/framework v5.0.16 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
Problem 2
- Installation request for phpunit/phpunit 4.5.0 -> satisfiable by phpunit/phpunit[4.5.0].
- phpunit/phpunit 4.5.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
To enable extensions, verify that they are enabled in those .ini files:
- /etc/php/php.ini
- /etc/php/conf.d/json.ini
- /etc/php/conf.d/openssl.ini
- /etc/php/conf.d/phar.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment