Browse Source

php/slim working with php7

Nate Brady 9 years ago
parent
commit
c8ff50a978

+ 2 - 2
frameworks/PHP/php/README.md

@@ -15,8 +15,8 @@ Use the PHP standard [JSON encoder](http://www.php.net/manual/en/function.json-e
 ## Infrastructure Software Versions
 ## Infrastructure Software Versions
 The tests were run with:
 The tests were run with:
 
 
-* [PHP Version 5.5.17](http://www.php.net/) with FPM and APC
-* [nginx 1.4.0](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/)
 * [PHP ActiveRecord Nightly 20121221](http://www.phpactiverecord.org/)
 * [PHP ActiveRecord Nightly 20121221](http://www.phpactiverecord.org/)
 
 

+ 2 - 2
frameworks/PHP/slim/README.md

@@ -19,8 +19,8 @@ The tests were run with:
 
 
 * [Slim 2.2.0](http://www.slimframework.com/)
 * [Slim 2.2.0](http://www.slimframework.com/)
 * [RedBeanPHP 3.4.2](http://redbeanphp.com/)
 * [RedBeanPHP 3.4.2](http://redbeanphp.com/)
-* [PHP Version 5.5.17](http://www.php.net/) with FPM and APC
-* [nginx 1.4.0](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

+ 1 - 0
frameworks/PHP/slim/deploy/php-fpm.pid

@@ -0,0 +1 @@
+17666

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

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