myaaghubi / PHP-Frameworks-Bench

A library to make benchmarks from PHP frameworks.
GNU General Public License v2.0
109 stars 4 forks source link

Display incorrect PHP version #35

Closed joanhey closed 1 year ago

joanhey commented 1 year ago

Now it's showing the CLI PHP version, not the version in the server.

https://github.com/myaaghubi/PHP-Frameworks-Bench/blob/main/base/hello_world.sh#L37

We need to create a file in the server, and call it with CURL.