Skip to content

Instantly share code, notes, and snippets.

@quentint
Last active November 26, 2019 08:20
Show Gist options
  • Save quentint/526a8572af51328328ede96e677e52be to your computer and use it in GitHub Desktop.
Save quentint/526a8572af51328328ede96e677e52be to your computer and use it in GitHub Desktop.
Install Symfony specifying which PHP executable/version to use
C:\xampp-7.3.3\php\php.exe C:\ProgramData\ComposerSetup\bin\composer.phar create-project symfony/website-skeleton my_project_name
@quentint
Copy link
Author

Useful because when having multiple local PHP versions and using symfony new my_project_name, even with a .php-version file, Composer complained about version issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment