|
@@ -1,3 +1,13 @@
|
|
|
#!/bin/bash
|
|
|
|
|
|
-fw_depends php nginx
|
|
|
+export PHP_HOME=${IROOT}/php-5.5.17
|
|
|
+
|
|
|
+export PHP_FPM=$PHP_HOME/sbin/php-fpm
|
|
|
+
|
|
|
+export NGINX_HOME=${IROOT}/nginx
|
|
|
+
|
|
|
+fw_depends php nginx composer
|
|
|
+
|
|
|
+${PHP_HOME}/bin/php $IROOT/composer.phar install \
|
|
|
+ --no-interaction --working-dir $TROOT \
|
|
|
+ --no-progress --optimize-autoloader
|