setup.sh 346 B

123456789
  1. #!/bin/bash
  2. fw_depends mysql php5 nginx composer
  3. sed -i 's|root .*/FrameworkBenchmarks/php-yii2|root '"${TROOT}"'|g' deploy/nginx.conf
  4. sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
  5. php-fpm --fpm-config $FWROOT/toolset/setup/linux/languages/php/php-fpm.conf -g $TROOT/deploy/php-fpm.pid
  6. nginx -c $TROOT/deploy/nginx.conf