You are not logged in.
Why yes. Yes I am benchmarking cars. LOL I'm even <strong>trying</strong> to make sure that all the cars use the same gasoline. Not always an easy task.
I'm also trying to inform the thread readers that the modifications suggested for the php.ini file, in this thread, worked exceptionally well for me. I am not certain of the security implications. I am certain that some of the Phoronix benchmarks run successfully now. On that note, another issue with some of the benchmarks is that they are 32bit applications. I installed the glibc-2.10.1-2.i686.rpm for Fedora this morning. Now the SQLite tests for Phoronix are working properly on Fedora 11 x64 for this system.
Offline
I just found this program and like everyone else I cant get it to run, I get 3 warnings and 1 fatal error. I have the php and php-pear packages installed and it still doesnt work.
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
Last edited by brando56894 (2009-10-05 21:51:38)
Offline
haukew wrote:Anyways after installing time and enabling posix and gd extensions in php.ini it seems to finally work.
What does this mean exactly?
Which packages need to be installed and how does php.ini have to be modified?1: yaourt -S phoronix-test-suite
2: add 'time' to depends, or install from extra
3: edit /etc/php/php.ini
- uncomment following extensions:
- extension=gd.so
- extension=posix.so
- extension=curl.so
- add test-suite path to open_basedir
example: open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/phoronix-test-suite/
- allow fileuploads
- allow_url_fopen = On
- file_uploads = On
- allow_url_include = On4: when installing test suites keep an eye out for other deps pts cannot install by itself
5: make a pts global account and upload results and post links here
Edit: Added some more configuration options by actually readind the _now_ good documentation.
http://www.phoronix-test-suite.com/docu … index.html
I've followed this instruction but I get always:
ERROR: Your php.ini configuration's open_basedir setting is preventing /usr/share/phoronix-test-suite/ from loading.
Offline
I've followed this instruction but I get always:
ERROR: Your php.ini configuration's open_basedir setting is preventing /usr/share/phoronix-test-suite/ from loading.
Well my instructions are probably outdated by now, but what seems to work now is:
3: edit /etc/php/php.ini
- comment out open_basedir
example: ;open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/:
Offline
fabioamd87 wrote:I've followed this instruction but I get always:
ERROR: Your php.ini configuration's open_basedir setting is preventing /usr/share/phoronix-test-suite/ from loading.
Well my instructions are probably outdated by now, but what seems to work now is:
3: edit /etc/php/php.ini
- comment out open_basedir
example: ;open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/:
Any chance these can be updated? Commeting out open_basedir worked brilliantly though thanks!
Offline