You are not logged in.

#26 2009-07-24 15:45:37

Jaguar07
Member
Registered: 2009-07-23
Posts: 5

Re: Phoronix Test Suite released and Result collection

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

#27 2009-10-05 21:30:10

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: Phoronix Test Suite released and Result collection

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

#28 2010-02-04 20:50:45

fabioamd87
Member
Registered: 2008-11-22
Posts: 128

Re: Phoronix Test Suite released and Result collection

Mikko777 wrote:
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 = On

4: 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 tongue


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

#29 2010-02-05 11:45:44

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Phoronix Test Suite released and Result collection

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/:/:

Offline

#30 2010-02-06 23:27:17

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

Re: Phoronix Test Suite released and Result collection

Mikko777 wrote:
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

Board footer

Powered by FluxBB