SimonSimCity / PhpSpeed

Script to check the speed of your php-server
http://www.phpspeed.com/
4 stars 3 forks source link

FreeBSD warnings #8

Open nschloe opened 12 years ago

nschloe commented 12 years ago

Warning: file(/proc/cpuinfo) [function.file]: failed to open stream: No such file or directory

/proc/cpuinfo isn't there on FreeBSD, but I'm guessing this isn't strictly needed for the tests to run either.

nschloe commented 12 years ago

Oh, and the same goes for /proc/meminfo.

SimonSimCity commented 12 years ago

This ticket is strongly related to #7 as the file https://github.com/SimonSimCity/PhpSpeed/blob/master/inc/functions.server.php is directly copied from the phpSysInfo package, which should be updated in #7.

The latest version of phpSysInfo may works with the current FreeBSD version. I don't know if the information gathered from this files is strictly required ... I just saw that it is saved together with the test-results :) Please keep in mind that this is neither my own package, nor have I used this in the last weeks.

If you want, feel free to forge this project and update the phpSysInfo implementation or play around with an implementation that works similar to the linux-one.