I just downloaded and installed PTS 2.0 and made sure to install the php package (simply called 'php' in arch linux) but I got 3 warnings and 1 fatal error when I tried to run the program:
PHP Warning: realpath(): open_basedir restriction in effect. File(/usr/share/phoronix-test-suite/pts-core) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 25
PHP Warning: require(): open_basedir restriction in effect. File(/pts-core/library/pts-functions.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
PHP Warning: require(/pts-core/library/pts-functions.php): failed to open stream: Operation not permitted in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
PHP Fatal error: require(): Failed opening required '/pts-core/library/pts-functions.php' (include_path='.:/usr/share/pear') in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
edit: just got it to work, all I had to do was comment out 'open_basedir=' in php.ini
PHP Warning: realpath(): open_basedir restriction in effect. File(/usr/share/phoronix-test-suite/pts-core) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 25
PHP Warning: require(): open_basedir restriction in effect. File(/pts-core/library/pts-functions.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
PHP Warning: require(/pts-core/library/pts-functions.php): failed to open stream: Operation not permitted in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
PHP Fatal error: require(): Failed opening required '/pts-core/library/pts-functions.php' (include_path='.:/usr/share/pear') in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 33
edit: just got it to work, all I had to do was comment out 'open_basedir=' in php.ini