I’ve just installed PEAR and the Benchmark package to test the performance of blocks of code.
Though when running the script containing the code:
require (‘Benchmark/Timer.php’);
I get this warning
[COLOR=“Red”]Warning: require(Benchmark/Timer.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\ imer.php on line 13
Fatal error: require() [function.require]: Failed opening required ‘Benchmark/Timer.php’ (include_path=‘.;C:\php5\pear’) in C:\wamp\www\ imer.php on line 13[/COLOR]
I’ve modified my System Variables PATH to include C:\wamp\bin\php\php5.3.0 and I’ve confirmed that PEAR has modified my php.ini file with:
include_path=“.;C:\wamp\bin\php\php5.3.0\PEAR\pear;C:\wamp\bin\php\php5.3.0\pear”
But I’m still getting this error. I’ve also confirmed via CLI that the Benchmark package is installed.
Thanks for any help.