install.sh 348 B

123456789101112
  1. #!/bin/bash
  2. export PHP_HOME=${IROOT}/php-5.5.17
  3. export COMPOSER_HOME=${IROOT}/php-composer
  4. export PHP_FPM=${PHP_HOME}/sbin/php-fpm
  5. export NGINX_HOME=${IROOT}/nginx
  6. fw_depends php nginx composer cphalcon
  7. ${PHP_HOME}/bin/php ${COMPOSER_HOME}/composer.phar install \
  8. --no-interaction --working-dir $TROOT \
  9. --no-progress --optimize-autoloader