What does enabling open_basedir for certain files/folders do? Are there cons to me commenting it out?
Announcement
Collapse
No announcement yet.
Inst PTS in Arch linux 64
Collapse
X
-
Originally posted by GreatWalrus View PostWhat does enabling open_basedir for certain files/folders do? Are there cons to me commenting it out?
by the way thanks alot for posting that information on how to get pts working in arch. it helped me alot.
Comment
-
The Super-pi tests are 32 bit based. Even when allowing php the necessary access I have errors with Super-pi. Hopefull Archlinux will provide a 32bit GlibC file soon.
I have the same issue on a recent F11 x64 also. Same issue with the 32 bit GlibC not readily available in the standard repositories.
On the positive note most of the other tests work well.
I had this issue a few months ago. Mike and some of the other great guys here on the board helped me fix it. When I was able to install the GlibC 32 bit version it fixed most of the odd compile errors. SQLite still never worked, but it's only one test.
GlibC 32 bit won't help with the unable to download issue though. The Walkthru in this thread DOES!Last edited by Jaguar07; 23 July 2009, 07:22 AM.
Comment
-
Awesome info, works great!!!!
Originally posted by GreatWalrus View PostAh, thanks Michael. I got /usr/bin/phoronix-test-suite to work by doing the following:
- yaourt -S phoronix-test-suite (or use install-sh from the source download)
- Add 'time' to depends (in the PKGBUILD), or install it from extra (pacman -Sy time)
- As root, edit /etc/php/php.ini
- Uncomment following extensions:
extension=gd.soextension=posix.soextension=curl.so - Add phoronix-test-suite path to open_basedirexample: open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/phoronix-test-suite/
- Allow file uploadsallow_url_fopen = Onfile_uploads = Onallow_url_include = On
- Uncomment following extensions:
- When installing test suites keep an eye out for other deps pts cannot install by itself
- Make a pts global account and upload results
Source: http://bbs.archlinux.org/viewtopic.php?pid=515816
Edit: Ok, well I still had problems with the open_basedir line in the above. I just decided to comment the open_basedir and not use it. You can avoid doing this by following your /var/log/user.log and seeing which files need to be added to your open_basedir. For me, it was such files as /usr/bin/gcc, /usr/bin/wget, /etc/release, and /proc/dri/0/name. That was too many for me, and I did not know if more would show up and cause problems.
Comment
-
May 31 23:54:13 abuarch php: PHP Notice: Use of undefined constant IS_WINDOWS - assumed 'IS_WINDOWS' in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 40
May 31 23:56:47 abuarch php: PHP Notice: Use of undefined constant IS_WINDOWS - assumed 'IS_WINDOWS' in /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php on line 40
Comment
Comment