PDA

View Full Version : Arch linux (64bit) - unable to install or benchmark (no output)


yossarianuk
04-28-2008, 11:14 AM
Hi.

I have installed it fine on Ubuntu 32 bit.

On arch linux (64) though you get no input at all - I have installed php.

i.e :-

[root@myhost phoronix-test-suite]# ./phoronix-test-suite install universe
[root@myhost phoronix-test-suite]#

no output at all...

Any ideas - I really want to see the difference between 32 / 64 bit distros..

Michael
04-28-2008, 11:56 AM
Is there still no output if you run ./phoronix-test-suite diagnostics ?

yossarianuk
04-28-2008, 12:27 PM
Again no output..........?

[morgan@myhost phoronix-test-suite]$ ./phoronix-test-suite diagnostics
[morgan@myhost phoronix-test-suite]$

I do get output using ./phoronix-test-suite --help


Is there still no output if you run ./phoronix-test-suite diagnostics ?

Michael
04-28-2008, 12:30 PM
<?php

echo "\nTEST MESSAGE!\n";

?>

Throw that in a file called test.php or whatever and then run from the CLI: php test.php

Do you get an output then? To try to diagnose whether its something mis-configured in your PHP installation or interaction with PTS.

yossarianuk
04-28-2008, 01:09 PM
Hi .

test message works :-

[morgan@myhost ~]$ php test.php

TEST MESSAGE!


im relatively new to Arch and its a new system - as well as php what other dependences are there ?





Again no output..........?

[morgan@myhost phoronix-test-suite]$ ./phoronix-test-suite diagnostics
[morgan@myhost phoronix-test-suite]$

I do get output using ./phoronix-test-suite --help

Michael
04-28-2008, 01:12 PM
PHP CLI, PHP GD are the only two necessary dependencies on a standard Linux system. But for some of the tests, you also need GCC, etc.

yossarianuk
04-28-2008, 01:25 PM
Hi.

I have gd + gcc installed.

I have attached my phpinfo output in case that helps (theres no way of posting an attachment ..) ...

(its going to have to be in multiple posts)..

------------------------------------------------------------------
morgan@myhost ~]$ php phpinfo.php
phpinfo()
PHP Version => 5.2.5

System => Linux myhost 2.6.24-ARCH #1 SMP PREEMPT Sun Mar 30 10:50:22 CEST 2008 x86_64
Build Date => Mar 27 2008 19:57:23
Configure Command => './configure' '--prefix=/usr' '--sysconfdir=/etc/php' '--with-layout=GNU' '--with-config-file-path=/etc/php' '--with-config-file-scan-dir=/etc/php/conf.d' '--enable-inline-optimization' '--disable-debug' '--disable-rpath' '--disable-static' '--enable-shared' '--disable-cgi' '--with-readline' '--enable-pcntl' '--with-pear=/usr/share/pear' '--with-openssl=shared' '--with-zlib=shared' '--enable-bcmath=shared' '--with-bz2=shared' '--enable-calendar=shared' '--with-curl=shared' '--enable-dba=shared' '--without-db2' '--without-db3' '--with-db4=shared' '--with-gdbm=shared' '--enable-dbase=shared' '--enable-exif=shared' '--enable-ftp=shared' '--with-gd=shared' '--enable-gd-native-ttf' '--with-jpeg-dir=shared,/usr' '--with-png-dir=shared,/usr' '--with-gettext=shared' '--with-imap=shared' '--with-imap-ssl=shared' '--with-ldap=shared' '--enable-mbstring=shared' '--with-mcrypt=shared' '--with-mysql=shared' '--with-mysql-sock=/tmp/mysql.sock' '--with-mysql=shared' '--with-mysqli=shared' '--with-ncurses=shared' '--with-unixODBC=shared,/usr' '--enable-pdo=shared' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-pgsql=shared' '--with-sqlite=shared' '--with-pgsql=shared' '--enable-shmop=shared' '--with-snmp=shared' '--enable-soap=shared' '--enable-sqlite-utf8=shared' '--enable-sysvmsg=shared' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--with-tidy=shared' '--with-xsl=shared' '--enable-zip=shared' '--enable-posix=shared' '--enable-sockets=shared' '--enable-xml' '--with-ttf=shared' '--enable-session=shared' '--with-regex=php' '--with-pcre-regex=/usr' '--enable-mbstring=all' '--enable-mbregex' '--enable-json=shared' '--with-iconv=shared' '--with-xmlrpc=shared' '--with-pspell=shared' '--with-freetype-dir=shared,/usr' '--with-mime-magic=shared'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php
Loaded Configuration File => /etc/php/php.ini
Scan this dir for additional .ini files => /etc/php/conf.d
additional .ini files parsed => /etc/php/conf.d/fileinfo.ini

PHP API => 20041225
PHP Extension => 20060613
Zend Extension => 220060519
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
IPv6 Support => enabled
Registered PHP Streams => compress.bzip2, php, file, data, http, ftp, zip, compress.zlib
Registered Stream Socket Transports => tcp, udp, unix, udg
Registered Stream Filters => bzip2.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*


This server is protected with the Suhosin Patch 0.9.6.2
Copyright (c) 2006 Hardened-PHP Project


This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies


__________________________________________________ _____________________


Configuration

PHP Core

Directive => Local Value => Master Value
allow_call_time_pass_reference => Off => Off
allow_url_fopen => Off => Off
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => Off => Off
error_append_string => no value => no value
error_log => syslog => syslog
error_prepend_string => no value => no value
error_reporting => 6143 => 6143
expose_php => Off => Off
extension_dir => /usr/lib/php/20060613/ => /usr/lib/php/20060613/
file_uploads => On => On
highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font>
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/share/pear => .:/usr/share/pear
log_errors => On => On
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => Off => Off
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
mail.force_extra_parameters => no value => no value
max_execution_time => 0 => 0
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
memory_limit => 32M => 32M
open_basedir => /home/:/tmp/:/usr/share/pear/ => /home/:/tmp/:/usr/share/pear/
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
register_globals => Off => Off
register_long_arrays => Off => Off
report_memleaks => Off => Off
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
suhosin.log.phpscript => 0 => 0
suhosin.log.phpscript.is_safe => Off => Off
suhosin.log.phpscript.name => no value => no value
suhosin.log.sapi => no value => no value
suhosin.log.script => no value => no value
suhosin.log.script.name => no value => no value
suhosin.log.syslog => no value => no value
suhosin.log.syslog.facility => no value => no value
suhosin.log.syslog.priority => no value => no value
suhosin.log.use-x-forwarded-for => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.ze1_compatibility_mode => Off => Off

bcmath

BCMath support => enabled

bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bz2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.4, 20-Dec-2006

ctype

ctype functions => enabled

curl

cURL support => enabled
cURL Information => libcurl/7.18.1 OpenSSL/0.9.8g zlib/1.2.3

date

date/time support => enabled
"Olson" Timezone Database Version => 2007.9
Timezone Database => internal
Default timezone => Europe/London

Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value

dom

DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.6.31
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled

fileinfo

fileinfo support => enabled

filter

Input Validation and Filtering => enabled
Revision => $Revision: 1.52.2.39 $

Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value

gd

GD Support => enabled
GD Version => bundled (2.0.34 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.3.5
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XBM Support => enabled

gettext

GetText Support => enabled

yossarianuk
04-28-2008, 01:26 PM
hash

hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

ldap

LDAP Support => enabled
RCS Version => $Id: ldap.c,v 1.161.2.3.2.11 2007/07/17 09:09:42 jani Exp $
Total Links => 0/unlimited
API Version => 3001
Vendor Name => OpenLDAP
Vendor Version => 20339

libxml

libXML support => active
libXML Version => 2.6.31
libXML streams => enabled

mbstring

Multibyte Support => enabled
Multibyte string engine => libmbfl
Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) version => 4.4.4
Multibyte regex (oniguruma) backtrack check => On

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.internal_encoding => ISO-8859-1 => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value

mysql

MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 5.0.51a
MYSQL_MODULE_TYPE => external
MYSQL_SOCKET => /tmp/mysql.sock
MYSQL_INCLUDE => -I/usr/include/mysql
MYSQL_LIBS => -L/usr/lib -lmysqlclient

Directive => Local Value => Master Value
mysql.allow_persistent => On => On
mysql.connect_timeout => 60 => 60
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => no value => no value
mysql.default_socket => no value => no value
mysql.default_user => no value => no value
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off

pcntl

pcntl support => enabled

pcre

PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 7.6 2008-01-28

Directive => Local Value => Master Value
pcre.backtrack_limit => 100000 => 100000
pcre.recursion_limit => 100000 => 100000

Reflection

Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp $

session

Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => php php_binary

Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => Off => Off
session.bug_compat_warn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_httponly => Off => Off
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_divisor => 1000 => 1000
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 5 => 5
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => /tmp => /tmp
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => Off => Off
session.use_trans_sid => 0 => 0

SimpleXML

Simplexml support => enabled
Revision => $Revision: 1.151.2.22.2.35 $
Schema support => enabled

sockets

Sockets Support => enabled

SPL

SPL support => enabled
Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

standard

Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i

Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentr y => a=href,area=href,frame=src,input=src,form=fakeentr y
user_agent => no value => no value

tidy

Tidy support => enabled
libTidy Release => 19 September 2007
Extension Version => 2.0 ($Id: tidy.c,v 1.66.2.8.2.24 2007/09/20 22:25:05 nlopess Exp $)

Directive => Local Value => Master Value
tidy.clean_output => no value => no value
tidy.default_config => no value => no value

tokenizer

Tokenizer Support => enabled

xml

XML Support => active
XML Namespace Support => active
libxml2 Version => 2.6.31

xmlreader

XMLReader => enabled

xmlrpc

core library version => xmlrpc-epi v. 0.51
php extension version => 0.51
author => Dan Libby
homepage => http://xmlrpc-epi.sourceforge.net
open sourced by => Epinions.com

xmlwriter

XMLWriter => enabled

xsl

XSL => enabled
libxslt Version => 1.1.22
libxslt compiled against libxml Version => 2.6.30
EXSLT => enabled
libexslt Version => 1.1.22

zip

Zip => enabled
Extension Version => $Id: php_zip.c,v 1.1.2.38 2007/08/06 22:02:32 bjori Exp $
Zip version => 2.0.0
Libzip version => 0.7.1

zlib

ZLib Support => enabled
Stream Wrapper support => compress.zlib://
Stream Filter support => zlib.inflate, zlib.deflate
Compiled Version => 1.2.3
Linked Version => 1.2.3

Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value

Additional Modules

Module Name
readline
sysvsem

yossarianuk
04-28-2008, 01:26 PM
Environment

Variable => Value
MANPATH => :/opt/qt/man:/opt/kde/man
KDE_MULTIHEAD => false
DM_CONTROL => /var/run/xdmctl
XDG_DATA_HOME => /home/morgan/.local/share
TERM => xterm
SHELL => /bin/bash
HISTSIZE => 1000
XDM_MANAGED => /var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic
GTK2_RC_FILES => /etc/gtk-2.0/gtkrc:/home/morgan/.gtkrc-2.0:/home/morgan/.kde/share/config/gtkrc-2.0
QT_XFT => true
GTK_RC_FILES => /etc/gtk/gtkrc:/home/morgan/.gtkrc:/home/morgan/.kde/share/config/gtkrc
GS_LIB => /home/morgan/.fonts
WINDOWID => 37748877
QTDIR => /opt/qt
KDE_FULL_SESSION => true
USER => morgan
KDEDIR => /opt/kde
SESSION_MANAGER => local/myhost:/tmp/.ICE-unix/3753
MOZ_PLUGIN_PATH => /opt/mozilla/lib/plugins:/usr/lib/mozilla/plugins
XDG_CONFIG_DIRS => /etc/xdg:/opt/kde/etc/xdg
KONSOLE_DCOP => DCOPRef(konsole-3860,konsole)
DESKTOP_SESSION => default
PATH => /bin:/usr/bin:/sbin:/usr/sbin:/opt/mozilla/bin:/opt/NX/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin:/opt/kde/bin
NXDIR => /opt/NX
LC_COLLATE => C
KONSOLE_DCOP_SESSION => DCOPRef(konsole-3860,session-1)
INPUTRC => /etc/inputrc
PWD => /home/morgan
LIBXCB_ALLOW_SLOPPY_LOCK => true
LANG => en_GB.utf8
KDE_SESSION_UID => 1000
KDEDIRS => /opt/kde:/usr
PS3 => >
HISTCONTROL => erasedups
SHLVL => 2
PS4 => +
HOME => /home/morgan
XDG_CONFIG_HOME => /home/morgan/.config
XCURSOR_THEME => default
XDG_CACHE_HOME => /home/morgan/.cache
LESS => -R
LOGNAME => morgan
XDG_DATA_DIRS => /usr/share:/usr/local/share:/opt/kde/share
PKG_CONFIG_PATH => :/opt/mozilla/lib/pkgconfig:/opt/qt/lib/pkgconfig:/opt/kde/lib/pkgconfig
DISPLAY => :0.0
G_BROKEN_FILENAMES => 1
COLORTERM =>
_ => /usr/bin/php

PHP Variables

Variable => Value
_SERVER["MANPATH"] => :/opt/qt/man:/opt/kde/man
_SERVER["KDE_MULTIHEAD"] => false
_SERVER["DM_CONTROL"] => /var/run/xdmctl
_SERVER["XDG_DATA_HOME"] => /home/morgan/.local/share
_SERVER["TERM"] => xterm
_SERVER["SHELL"] => /bin/bash
_SERVER["HISTSIZE"] => 1000
_SERVER["XDM_MANAGED"] => /var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic
_SERVER["GTK2_RC_FILES"] => /etc/gtk-2.0/gtkrc:/home/morgan/.gtkrc-2.0:/home/morgan/.kde/share/config/gtkrc-2.0
_SERVER["QT_XFT"] => true
_SERVER["GTK_RC_FILES"] => /etc/gtk/gtkrc:/home/morgan/.gtkrc:/home/morgan/.kde/share/config/gtkrc
_SERVER["GS_LIB"] => /home/morgan/.fonts
_SERVER["WINDOWID"] => 37748877
_SERVER["QTDIR"] => /opt/qt
_SERVER["KDE_FULL_SESSION"] => true
_SERVER["USER"] => morgan
_SERVER["KDEDIR"] => /opt/kde
_SERVER["SESSION_MANAGER"] => local/myhost:/tmp/.ICE-unix/3753
_SERVER["MOZ_PLUGIN_PATH"] => /opt/mozilla/lib/plugins:/usr/lib/mozilla/plugins
_SERVER["XDG_CONFIG_DIRS"] => /etc/xdg:/opt/kde/etc/xdg
_SERVER["KONSOLE_DCOP"] => DCOPRef(konsole-3860,konsole)
_SERVER["DESKTOP_SESSION"] => default
_SERVER["PATH"] => /bin:/usr/bin:/sbin:/usr/sbin:/opt/mozilla/bin:/opt/NX/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin:/opt/kde/bin
_SERVER["NXDIR"] => /opt/NX
_SERVER["LC_COLLATE"] => C
_SERVER["KONSOLE_DCOP_SESSION"] => DCOPRef(konsole-3860,session-1)
_SERVER["INPUTRC"] => /etc/inputrc
_SERVER["PWD"] => /home/morgan
_SERVER["LIBXCB_ALLOW_SLOPPY_LOCK"] => true
_SERVER["LANG"] => en_GB.utf8
_SERVER["KDE_SESSION_UID"] => 1000
_SERVER["KDEDIRS"] => /opt/kde:/usr
_SERVER["PS3"] => >
_SERVER["HISTCONTROL"] => erasedups
_SERVER["SHLVL"] => 2
_SERVER["PS4"] => +
_SERVER["HOME"] => /home/morgan
_SERVER["XDG_CONFIG_HOME"] => /home/morgan/.config
_SERVER["XCURSOR_THEME"] => default
_SERVER["XDG_CACHE_HOME"] => /home/morgan/.cache
_SERVER["LESS"] => -R
_SERVER["LOGNAME"] => morgan
_SERVER["XDG_DATA_DIRS"] => /usr/share:/usr/local/share:/opt/kde/share
_SERVER["PKG_CONFIG_PATH"] => :/opt/mozilla/lib/pkgconfig:/opt/qt/lib/pkgconfig:/opt/kde/lib/pkgconfig
_SERVER["DISPLAY"] => :0.0
_SERVER["G_BROKEN_FILENAMES"] => 1
_SERVER["COLORTERM"] =>
_SERVER["_"] => /usr/bin/php
_SERVER["PHP_SELF"] => phpinfo.php
_SERVER["SCRIPT_NAME"] => phpinfo.php
_SERVER["SCRIPT_FILENAME"] => phpinfo.php
_SERVER["PATH_TRANSLATED"] => phpinfo.php
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] => 1209403499
_SERVER["argv"] => Array
(
[0] => phpinfo.php
)

_SERVER["argc"] => 1

PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.
phpinfo()

bcmath

BCMath support => enabled

bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bz2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.4, 20-Dec-2006

ctype

ctype functions => enabled

curl

cURL support => enabled
cURL Information => libcurl/7.18.1 OpenSSL/0.9.8g zlib/1.2.3

date

date/time support => enabled
"Olson" Timezone Database Version => 2007.9
Timezone Database => internal
Default timezone => Europe/London

Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value

dom

DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.6.31
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled

fileinfo

fileinfo support => enabled

filter

Input Validation and Filtering => enabled
Revision => $Revision: 1.52.2.39 $

Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value

gd

GD Support => enabled
GD Version => bundled (2.0.34 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.3.5
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XBM Support => enabled

gettext

GetText Support => enabled

hash

hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

ldap

LDAP Support => enabled
RCS Version => $Id: ldap.c,v 1.161.2.3.2.11 2007/07/17 09:09:42 jani Exp $
Total Links => 0/unlimited
API Version => 3001
Vendor Name => OpenLDAP
Vendor Version => 20339

libxml

libXML support => active
libXML Version => 2.6.31
libXML streams => enabled

mbstring

Multibyte Support => enabled
Multibyte string engine => libmbfl
Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) version => 4.4.4
Multibyte regex (oniguruma) backtrack check => On

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.internal_encoding => ISO-8859-1 => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value

mysql

MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 5.0.51a
MYSQL_MODULE_TYPE => external
MYSQL_SOCKET => /tmp/mysql.sock
MYSQL_INCLUDE => -I/usr/include/mysql
MYSQL_LIBS => -L/usr/lib -lmysqlclient

Directive => Local Value => Master Value
mysql.allow_persistent => On => On
mysql.connect_timeout => 60 => 60
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => no value => no value
mysql.default_socket => no value => no value
mysql.default_user => no value => no value
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off

pcntl

pcntl support => enabled

pcre

PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 7.6 2008-01-28

Directive => Local Value => Master Value
pcre.backtrack_limit => 100000 => 100000
pcre.recursion_limit => 100000 => 100000

Reflection

Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33.2.47 2007/10/28 13:47:14 iliaa Exp $

session

Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => php php_binary

Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => Off => Off
session.bug_compat_warn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_httponly => Off => Off
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_divisor => 1000 => 1000
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 5 => 5
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => /tmp => /tmp
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => Off => Off
session.use_trans_sid => 0 => 0

BadPotato
05-03-2008, 03:22 PM
hi, i have the same probleme on archlinux 32bit...

[root@rorqual phoronix-test-suite]# ./phoronix-test-suite install universe
[root@rorqual phoronix-test-suite]#

and

[root@rorqual phoronix-test-suite]# ./phoronix-test-suite version
[root@rorqual phoronix-test-suite]#

no more output :(

now, i looked into the script and I try manually:

[root@rorqual phoronix-test-suite]# php pts-core/pts-run-cmd.php VERSION
[root@rorqual phoronix-test-suite]#


nothing...

Michael
05-03-2008, 04:27 PM
Hmmm I wonder if it's an ArchLinux PHP configuration problem.

yossarianuk
05-06-2008, 07:19 AM
Just to say:-

Same thing is still happening with 0.5.1 (and arch)



Hmmm I wonder if it's an ArchLinux PHP configuration problem.

Aradreth
05-10-2008, 12:34 PM
PHP Fatal error: Call to undefined function posix_getpwuid() in /var/local/phoronix-test-suite/pts-core/functions/pts-functions_system.php on line 74

I just tried the git version and get the above error when I try and run ./phoronix-test-suite diagnostics on archlinux x86_64 using the php.ini file that comes with the source (php.ini-recommended) and not the default arch one. With the default arch one I get nothing at all.

edit: php version = 5.2.6-1

Michael
05-10-2008, 06:51 PM
PHP Fatal error: Call to undefined function posix_getpwuid() in /var/local/phoronix-test-suite/pts-core/functions/pts-functions_system.php on line 74

I just tried the git version and get the above error when I try and run ./phoronix-test-suite diagnostics on archlinux x86_64 using the php.ini file that comes with the source (php.ini-recommended) and not the default arch one. With the default arch one I get nothing at all.

edit: php version = 5.2.6-1

The posix issue should be fixed in git.

Aradreth
05-11-2008, 06:57 AM
The posix issue should be fixed in git.
Tested it quickly and is appears to be working now, cheers.

yossarianuk
05-11-2008, 04:34 PM
Hi.

After 'messing' with the php.ini file the installer now actually download files in arch - it does error however - can someone post a working php.ini file - perhaps we can find what options need to be enabled....


Tested it quickly and is appears to be working now, cheers.

Aradreth
05-11-2008, 06:22 PM
Alright I only just was able to try the benchmark properly (internet is a bit slow so the download took a while); anyway everything appeared to download fine but the actual benchmarks do not run and I just get errors an example of which is below:-


====================================
Universe Test Suite
====================================

Running Universe Test Suite...

PHP Notice: Undefined variable: RESULTS_IDENTIFIER in /var/local/phoronix-test-suite/pts-core/pts-run-benchmark.php on line 222

====================================
LAME MP3 Encoding (Run 1 of 3)
====================================

./lame: line 3: /usr/bin/time: No such file or directory

====================================
LAME MP3 Encoding (Run 2 of 3)
====================================

./lame: line 3: /usr/bin/time: No such file or directory

====================================
LAME MP3 Encoding (Run 3 of 3)
====================================

./lame: line 3: /usr/bin/time: No such file or directory
PHP Warning: Division by zero in /var/local/phoronix-test-suite/pts-core/functions/pts-functions-run.php on line 386


The time function works perfectly when I try it myself and "whereis time" gives:-
time: /usr/include/time.h /usr/man/mann/time.n.gz /usr/share/man/man3p/time.3p.gz /usr/share/man/man1p/time.1p.gz /usr/share/man/man7/time.7.gz /usr/share/man/man2/time.2.gz /usr/share/man/man1/time.1.gz

but not the path to the binary it is not in /usr/bin/ /bin/ or anywhere else I could think of looking in, nor could I find it with rlocate. :confused:
That's all I had time to look into whilst I avoided working. :D

ninja edit:
PHP Notice: Undefined variable: RESULTS_IDENTIFIER in /home/nuno/download/phoronix-test-suite/pts-core/pts-run-benchmark.php on line 199
is the only error I could from the nexuiz benchmark; it worked fine otherwise.



Hi.

After 'messing' with the php.ini file the installer now actually download files in arch - it does error however - can someone post a working php.ini file - perhaps we can find what options need to be enabled....

Michael
05-11-2008, 07:20 PM
ninja edit:
PHP Notice: Undefined variable: RESULTS_IDENTIFIER in /home/nuno/download/phoronix-test-suite/pts-core/pts-run-benchmark.php on line 199
is the only error I could from the nexuiz benchmark; it worked fine otherwise.


That is fixed in git. It's not an error but just a notice, but it's cleared up anyways in the latest code.

Aradreth
05-12-2008, 09:33 AM
Er right had a proper look at the why time wasn't working... I might have forgotten to install extra/time... :o
Working properly (default arch php.ini file) as far as I can tell.

BadPotato
05-29-2008, 12:39 AM
hi,

now here is the new output, when I press on enter a lot of time...
==> http://pastebin.com/f605b3ae3

that's weird... I already installef all of theses package and I have more than 10gig on my root slice.....

Michael
05-29-2008, 07:33 AM
hi,

now here is the new output, when I press on enter a lot of time...
==> http://pastebin.com/f605b3ae3

that's weird... I already installef all of theses package and I have more than 10gig on my root slice.....

Check out the git code at Phorogit.com The problem should be fixed in the git tree.

BadPotato
05-31-2008, 10:03 PM
hm!

ok.. now I take it from git a this adress
==> http://www.phorogit.com/index.php?p=phoronix-test-suite.git&dl=targz

and now we come back at the first problem:

[root@rorqual phoronix-test-suite]# ./phoronix-test-suite install universe
[root@rorqual phoronix-test-suite]#


:confused: :confused:

BadPotato
05-31-2008, 10:04 PM
hm!

ok.. now I take it from git a this adress
==> http://www.phorogit.com/index.php?p=phoronix-test-suite.git&dl=targz

and now we come back at the first problem:

[root@rorqual phoronix-test-suite]# ./phoronix-test-suite install universe
[root@rorqual phoronix-test-suite]#


:confused: :confused:

BadPotato
05-31-2008, 10:06 PM
hm!

ok.. now I take it from git a this adress
==> http://www.phorogit.com/index.php?p=phoronix-test-suite.git&dl=targz

and now we come back at the first problem:

[root@rorqual phoronix-test-suite]# ./phoronix-test-suite install universe
[root@rorqual phoronix-test-suite]#


:confused: :confused: :confused:

Michael
05-31-2008, 11:07 PM
Does running ./phoronix-test-suite diagnostics (or list-tests or any other option) work?

Happy_Kot
07-06-2008, 08:32 AM
I have the same problem:
Arch current 32bit,
php 5.2.6-1,
Phoronix 1.0.2

# phoronix-test-suite diagnostics
#

other phoronix commands keep silence too :)

in the message.log:

php: PHP Warning: require(pts-core/functions/pts-functions.php): failed to open stream: Operation not permitted in /usr/share/phoronix-test-suite/pts-core/pts-run-cmd.php on line 25

php: PHP Fatal error: require(): Failed opening required 'pts-core/functions/pts-functions.php' (include_path='.:/usr/share/pear') in /usr/share/phoronix-test-suite/pts-core/pts-run-cmd.php on line 25

May be above log information can help find solution?

Michael
07-06-2008, 08:41 AM
hmmm looks to be a problem then with your php.ini configuration of it not being able to open the required files.

Are you able to post your /etc/php5/php.ini and/or try a php.ini file from elsewhere (say extracted from the one on Ubuntu or elsewhere)?

Happy_Kot
07-06-2008, 09:10 AM
Thanx a lot!

php.ini from Slackware 12.1 is working!

fackamato
09-11-2008, 08:41 AM
Thanx a lot!

php.ini from Slackware 12.1 is working!

The problem is with open_basedir. I commented that out, and it works in arch x86_64. (at least downloading the stuff, can't benchmark yet ;))