Browse Source

upgrade additional frameworks to PHP7

Keith Newman 9 years ago
parent
commit
ef9b74c446

+ 1 - 1
frameworks/PHP/kohana/setup.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-fw_depends php nginx composer
+fw_depends php7 nginx composer
 
 
 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-kohana|root '"${TROOT}"'|g' deploy/nginx.conf
 sed -i 's|root .*/FrameworkBenchmarks/php-kohana|root '"${TROOT}"'|g' deploy/nginx.conf

+ 1 - 1
frameworks/PHP/limonade/setup.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-fw_depends php nginx composer
+fw_depends php7 nginx composer
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' index.php
 sed -i 's|localhost|'"${DBHOST}"'|g' index.php
 sed -i 's|root .*/FrameworkBenchmarks/limonade|root '"${TROOT}"'|g' deploy/nginx.conf
 sed -i 's|root .*/FrameworkBenchmarks/limonade|root '"${TROOT}"'|g' deploy/nginx.conf

+ 1 - 1
frameworks/PHP/phpixie/setup.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-fw_depends php nginx composer
+fw_depends php7 nginx composer
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' assets/config/db.php
 sed -i 's|localhost|'"${DBHOST}"'|g' assets/config/db.php
 sed -i 's|".*/FrameworkBenchmarks/php-phpixie|"'"${TROOT}"'|g' deploy/php-phpixie
 sed -i 's|".*/FrameworkBenchmarks/php-phpixie|"'"${TROOT}"'|g' deploy/php-phpixie

+ 1 - 1
frameworks/PHP/silex/setup.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-fw_depends php nginx composer
+fw_depends php7 nginx composer
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' web/index.php
 sed -i 's|localhost|'"${DBHOST}"'|g' web/index.php
 sed -i 's|".*\FrameworkBenchmarks/php-silex|"'"${TROOT}"'|g' deploy/php-silex
 sed -i 's|".*\FrameworkBenchmarks/php-silex|"'"${TROOT}"'|g' deploy/php-silex

+ 1 - 1
frameworks/PHP/silex/setup_raw.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-fw_depends php nginx composer
+fw_depends php7 nginx composer
 
 
 sed -i 's|localhost|'"${DBHOST}"'|g' web/index_raw.php
 sed -i 's|localhost|'"${DBHOST}"'|g' web/index_raw.php
 sed -i 's|".*\FrameworkBenchmarks/php-silex|"'"${TROOT}"'|g' deploy/php-silex
 sed -i 's|".*\FrameworkBenchmarks/php-silex|"'"${TROOT}"'|g' deploy/php-silex

+ 1 - 1
frameworks/PHP/zend/setup.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-fw_depends php nginx composer
+fw_depends php7 nginx composer
 
 
 sed -i 's|host=localhost|host='"${DBHOST}"'|g' config/autoload/benchmarks.local.php
 sed -i 's|host=localhost|host='"${DBHOST}"'|g' config/autoload/benchmarks.local.php
 sed -i 's|root .*/FrameworkBenchmarks/php-zend-framework|root '"${TROOT}"'|g' deploy/nginx.conf
 sed -i 's|root .*/FrameworkBenchmarks/php-zend-framework|root '"${TROOT}"'|g' deploy/nginx.conf

+ 1 - 1
frameworks/PHP/zend1/setup.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-fw_depends php nginx composer
+fw_depends php7 nginx composer
 
 
 sed -i 's|host = "localhost"|host = "'"${DBHOST}"'"|g' application/configs/application.ini
 sed -i 's|host = "localhost"|host = "'"${DBHOST}"'"|g' application/configs/application.ini
 sed -i 's|root .*/FrameworkBenchmarks/php-zend-framework1|root '"${TROOT}"'|g' deploy/nginx.conf
 sed -i 's|root .*/FrameworkBenchmarks/php-zend-framework1|root '"${TROOT}"'|g' deploy/nginx.conf