Browse Source

laravel working with php7

Nate Brady 9 years ago
parent
commit
de13a635ce

+ 3 - 3
frameworks/PHP/laravel/readme.md

@@ -23,8 +23,8 @@ Uses Laravels template engine 'blade'
 The tests were run with:
 The tests were run with:
 
 
 * [Laravel Version 4.2](http://laravel.com/)
 * [Laravel Version 4.2](http://laravel.com/)
-* [PHP Version 5.5.17](http://www.php.net/) with FPM and APC
-* [nginx 1.4.1](http://nginx.org/)
+* [PHP Version 7.0.1](http://www.php.net/) with FPM and APC
+* [nginx 1.9.9](http://nginx.org/)
 * [MySQL 5.5.29](https://dev.mysql.com/)
 * [MySQL 5.5.29](https://dev.mysql.com/)
 
 
 ## Test URLs
 ## Test URLs
@@ -42,4 +42,4 @@ http://localhost/db?queries=2
 
 
 ### Templating Test
 ### Templating Test
 
 
-http://localhost/fortunes
+http://localhost/fortunes

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

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-fw_depends php nginx composer
+fw_depends php7 nginx composer
 
 
 sed -i 's|127.0.0.1|'"${DBHOST}"'|g' app/config/database.php
 sed -i 's|127.0.0.1|'"${DBHOST}"'|g' app/config/database.php
 sed -i 's|root .*/FrameworkBenchmarks/frameworks/PHP/php-laravel|root '"${TROOT}"'|g' deploy/nginx.conf 
 sed -i 's|root .*/FrameworkBenchmarks/frameworks/PHP/php-laravel|root '"${TROOT}"'|g' deploy/nginx.conf 

+ 1 - 1
frameworks/PHP/laravel/setup_hhvm.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 
 
-fw_depends php nginx composer hhvm
+fw_depends php7 nginx composer hhvm
 
 
 sed -i 's|127.0.0.1|'"${DBHOST}"'|g' app/config/database.php
 sed -i 's|127.0.0.1|'"${DBHOST}"'|g' app/config/database.php
 sed -i 's|SourceRoot = .*/FrameworkBenchmarks/php-laravel|SourceRoot = '"${TROOT}"'|g' deploy/config.hdf
 sed -i 's|SourceRoot = .*/FrameworkBenchmarks/php-laravel|SourceRoot = '"${TROOT}"'|g' deploy/config.hdf