Browse Source

Update seds

Brittany Mazza 10 years ago
parent
commit
87f41ed660
1 changed files with 2 additions and 2 deletions
  1. 2 2
      frameworks/PHP/php-laravel/setup.sh

+ 2 - 2
frameworks/PHP/php-laravel/setup.sh

@@ -4,9 +4,9 @@ export PHP_HOME=${IROOT}/php-5.5.17
 export PHP_FPM=${PHP_HOME}/sbin/php-fpm
 export NGINX_HOME=${IROOT}/nginx
 
-sed -i 's|localhost|'"${DBHOST}"'|g' app/config/database.php
+sed -i 's|127.0.0.1|'"${DBHOST}"'|g' app/config/database.php
 sed -i 's|root .*/FrameworkBenchmarks/php-laravel|root '"${TROOT}"'|g' deploy/nginx.conf 
-sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
+sed -i 's|/home/vagrant/FrameworkBenchmarks/installs/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
 
 export PATH="${PHP_HOME}/bin:${PHP_HOME}/sbin:$PATH"