Table of Contents

Dreamhost servers

From the command line, the default php is version 5.2.17. For most purposes, we need at least version 5.4. This is available as php-5.4. For example, install composer as follows:

php-5.4 -r "readfile('');" | php-5.4
php-5.4 composer.phar global require "fxp/composer-asset-plugin:1.0.0"

Install the Yii advanced application (when the composer.phar file sits in the user directory):

php-7.0 ~/composer.phar create-project yiisoft/yii2-app-advanced advanced