|
@@ -1,5 +1,12 @@
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
+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' application/config/database.php
|
|
sed -i 's|localhost|'"${DBHOST}"'|g' application/config/database.php
|
|
sed -i 's|root .*/FrameworkBenchmarks/php-codeigniter|root '"${TROOT}"'|g' deploy/nginx.conf
|
|
sed -i 's|root .*/FrameworkBenchmarks/php-codeigniter|root '"${TROOT}"'|g' deploy/nginx.conf
|
|
sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
|
|
sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
|