Browse Source

specify composer version to fix yii2

Keith Newman 9 years ago
parent
commit
432c3c96d9
1 changed files with 4 additions and 1 deletions
  1. 4 1
      toolset/setup/linux/systools/composer.sh

+ 4 - 1
toolset/setup/linux/systools/composer.sh

@@ -14,7 +14,10 @@ fw_get -o composer-installer.php https://getcomposer.org/installer
 
 # Use the PHP and composer from our PHP_HOME directory and 
 # COMPOSER_HOME directories
-php composer-installer.php --install-dir=${COMPOSER_HOME}
+#
+# NOTE: if you decide to update the composer version, be sure to test ALL of the frameworks
+# that use composer, as some of them have been known to break on newer versions of composer.
+php composer-installer.php --install-dir=${COMPOSER_HOME} --version=1.0.0
 
 cd ..