ikkez 9 gadi atpakaļ
vecāks
revīzija
6b657584db

+ 1 - 1
frameworks/PHP/fat-free/deploy/nginx.conf

@@ -65,7 +65,7 @@ http {
         #    proxy_pass   http://127.0.0.1;
         #}
 
-        root /home/vagrant/FrameworkBenchmarks/frameworks/PHP/fat-free/;
+        root /home/ubuntu/FrameworkBenchmarks/fat-free/;
         index  index.php;
 
         location / {

+ 3 - 3
frameworks/PHP/fat-free/setup.sh

@@ -3,7 +3,7 @@
 fw_depends php7 nginx
 
 sed -i 's|localhost|'"${DBHOST}"'|g' index.php
-sed -i 's|root .*/FrameworkBenchmarks/frameworks/PHP/fat-free|root '"${TROOT}"'|g' deploy/nginx.conf
+sed -i 's|root .*/FrameworkBenchmarks/fat-free|root '"${TROOT}"'|g' deploy/nginx.conf
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
 
 F3DIR="$TROOT/src"
@@ -15,5 +15,5 @@ pushd "$F3DIR" > /dev/null
 git checkout -q "b284f0c482e858f0162cab529925e7de14d90746" # v3.5.0
 popd > /dev/null
 
-php-fpm --fpm-config $FWROOT/config/php-fpm.conf -g $TROOT/deploy/php-fpm.pid
-nginx -c $TROOT/deploy/nginx.conf
+php-fpm --fpm-config "$FWROOT/config/php-fpm.conf" -g "$TROOT/deploy/php-fpm.pid"
+nginx -c "$TROOT/deploy/nginx.conf"