Problem upgrading PHP to V5.2.3-4
Problem upgrading PHP to V5.2.3-4
First off I'd like to thank Scott for his work. I'm impressed!
I'm updating my PHP 5.0.4 to 5.2.3-4. I'm on a 1and1 VPS running Fedora Core 4 X86_64. I've upgraded Plesk to version 8.2.1.
I'm getting the following error during the update:
Error: Missing Dependency: php-common = 5.2.3-3.fc4.art is needed by package php-pdo
Not sure what I'm doing wrong. Below is my log. Thanks.
-Michael
# yum update php
Setting up Update Process
Setting up repositories
atomic 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.x86_64 0:5.2.3-4.fc4.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-devel
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-mysql
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-gd
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-pear
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-pgsql
--> Processing Dependency: php-common = 5.2.3-4.fc4.art for package: php
--> Processing Dependency: php <= 5.1.0 for package: php-sqlite2
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-xml
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-odbc
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-dba
--> Processing Dependency: php-cli = 5.2.3-4.fc4.art for package: php
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-ldap
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-xmlrpc
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-ncurses
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-imap
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-mbstring
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-snmp
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-soap
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-bcmath
--> Processing Dependency: /usr/bin/php for package: psa-horde
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-devel.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-ldap.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-snmp.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-xmlrpc.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-cli.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-soap.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-pear.noarch 1:1.5.0-5.fc4.art set to be updated
---> Package php-common.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-xml.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-ncurses.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-mysql.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-gd.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-odbc.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-pgsql.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-imap.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-mbstring.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-bcmath.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-pdo.x86_64 0:5.2.3-3.fc4.art set to be updated
---> Package php-dba.x86_64 0:5.2.3-4.fc4.art set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.2.3-3.fc4.art for package: php-pdo
--> Finished Dependency Resolution
Error: Missing Dependency: php-common = 5.2.3-3.fc4.art is needed by package php-pdo
I'm updating my PHP 5.0.4 to 5.2.3-4. I'm on a 1and1 VPS running Fedora Core 4 X86_64. I've upgraded Plesk to version 8.2.1.
I'm getting the following error during the update:
Error: Missing Dependency: php-common = 5.2.3-3.fc4.art is needed by package php-pdo
Not sure what I'm doing wrong. Below is my log. Thanks.
-Michael
# yum update php
Setting up Update Process
Setting up repositories
atomic 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.x86_64 0:5.2.3-4.fc4.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-devel
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-mysql
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-gd
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-pear
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-pgsql
--> Processing Dependency: php-common = 5.2.3-4.fc4.art for package: php
--> Processing Dependency: php <= 5.1.0 for package: php-sqlite2
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-xml
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-odbc
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-dba
--> Processing Dependency: php-cli = 5.2.3-4.fc4.art for package: php
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-ldap
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-xmlrpc
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-ncurses
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-imap
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-mbstring
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-snmp
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-soap
--> Processing Dependency: php = 5.0.4-10.5.1.swsoft for package: php-bcmath
--> Processing Dependency: /usr/bin/php for package: psa-horde
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-devel.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-ldap.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-snmp.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-xmlrpc.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-cli.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-soap.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-pear.noarch 1:1.5.0-5.fc4.art set to be updated
---> Package php-common.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-xml.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-ncurses.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-mysql.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-gd.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-odbc.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-pgsql.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-imap.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-mbstring.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-bcmath.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-pdo.x86_64 0:5.2.3-3.fc4.art set to be updated
---> Package php-dba.x86_64 0:5.2.3-4.fc4.art set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.2.3-3.fc4.art for package: php-pdo
--> Finished Dependency Resolution
Error: Missing Dependency: php-common = 5.2.3-3.fc4.art is needed by package php-pdo
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Looks like some overlap with that sw-soft distributed php. Unfortunately when you get that, you've got to remove the older packages and treat this as a new install.
This probably needs work, so we'll update the thread as more info comes in:
Step 1) List all the existing php packages
rpm -qa |grep ^php-
Step 2) Remove all of them
rpm -e --nodeps <package name>
Step 3) Install the new ones:
yum install <package name>
This probably needs work, so we'll update the thread as more info comes in:
Step 1) List all the existing php packages
rpm -qa |grep ^php-
Step 2) Remove all of them
rpm -e --nodeps <package name>
Step 3) Install the new ones:
yum install <package name>
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Where do you see that? I don't see that.Looks like some overlap with that sw-soft distributed php.
I do see that all packages are being set to be upgraded to 5.2.3-4, but somehow php-pdo is set to be upgraded to 5.2.3-3 which causes the conflict, because php-pdo 5.2.3-3 requires php-common 5.2.3-3.
php-pdo 5.2.3-4 is available at http://www.atomicorp.com/channels/atomi ... 6_64/RPMS/ though, so I don't understand why yum is not picking that one.
I'd try downloading the php packages from http://www.atomicorp.com/channels/atomi ... 6_64/RPMS/ to a local directory and then try a yum localinstall php*.rpm or something.
Lemonbit Internet Dedicated Server Management
As the php turns
Scott,
I did as you suggested:
>>Step 1) List all the existing php packages
>>rpm -qa |grep ^php-
php-gd-5.0.4-10.5.1.swsoft
php-xml-5.0.4-10.5.1.swsoft
php-bcmath-5.0.4-10.5.1.swsoft
php-ncurses-5.0.4-10.5.1.swsoft
php-snmp-5.0.4-10.5.1.swsoft
php-imap-5.0.4-10.5.1.swsoft
php-mysql-5.0.4-10.5.1.swsoft
php-dba-5.0.4-10.5.1.swsoft
php-ldap-5.0.4-10.5.1.swsoft
php-odbc-5.0.4-10.5.1.swsoft
php-pgsql-5.0.4-10.5.1.swsoft
php-soap-5.0.4-10.5.1.swsoft
php-5.0.4-10.5.1.swsoft
php-mbstring-5.0.4-10.5.1.swsoft
php-devel-5.0.4-10.5.1.swsoft
php-pear-5.0.4-10.5.1.swsoft
php-xmlrpc-5.0.4-10.5.1.swsoft
php-sqlite2-5.0.4-200608261840
I then went through and removed each of these packages with the following:
>>Step 2) Remove all of them
>>rpm -e --nodeps <package name>
At last I reinstalled all the packages above with: (sqlite2 didn't exist in 5.2.3)
>> Step 3) Install the new ones:
yum install <package name>
I did:
php -version
Failed loading /opt/php51/lib64/php5/extensions/php_ioncube_loader_lin_5.0_x86_6 4.so: /opt/php51/lib64/php5/extensions/php_ioncube_loader_lin_5.0_x86_64.so: un defined symbol: empty_string
PHP 5.2.3 (cli) (built: Aug 27 2007 10:31:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Not sure if this is a showstopper or not...
-Michael
I did as you suggested:
>>Step 1) List all the existing php packages
>>rpm -qa |grep ^php-
php-gd-5.0.4-10.5.1.swsoft
php-xml-5.0.4-10.5.1.swsoft
php-bcmath-5.0.4-10.5.1.swsoft
php-ncurses-5.0.4-10.5.1.swsoft
php-snmp-5.0.4-10.5.1.swsoft
php-imap-5.0.4-10.5.1.swsoft
php-mysql-5.0.4-10.5.1.swsoft
php-dba-5.0.4-10.5.1.swsoft
php-ldap-5.0.4-10.5.1.swsoft
php-odbc-5.0.4-10.5.1.swsoft
php-pgsql-5.0.4-10.5.1.swsoft
php-soap-5.0.4-10.5.1.swsoft
php-5.0.4-10.5.1.swsoft
php-mbstring-5.0.4-10.5.1.swsoft
php-devel-5.0.4-10.5.1.swsoft
php-pear-5.0.4-10.5.1.swsoft
php-xmlrpc-5.0.4-10.5.1.swsoft
php-sqlite2-5.0.4-200608261840
I then went through and removed each of these packages with the following:
>>Step 2) Remove all of them
>>rpm -e --nodeps <package name>
At last I reinstalled all the packages above with: (sqlite2 didn't exist in 5.2.3)
>> Step 3) Install the new ones:
yum install <package name>
I did:
php -version
Failed loading /opt/php51/lib64/php5/extensions/php_ioncube_loader_lin_5.0_x86_6 4.so: /opt/php51/lib64/php5/extensions/php_ioncube_loader_lin_5.0_x86_64.so: un defined symbol: empty_string
PHP 5.2.3 (cli) (built: Aug 27 2007 10:31:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Not sure if this is a showstopper or not...
-Michael
Ok I just fixed the error
I was getting the following error after doing a php -version
Failed loading /opt/php51/lib64/php5/extensions/php_ioncube_loader_lin_5.0_x86_6 4.so: /opt/php51/lib64/php5/extensions/php_ioncube_loader_lin_5.0_x86_64.so: un defined symbol: empty_string
PHP 5.2.3 (cli) (built: Aug 27 2007 10:31:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
I went to the directory at /etc/php.d
Modified the file ioncube-loader.ini
Changed the line from:
zend_extension=/opt/php51/lib64/php5/extensions/php_ioncube_loader_lin_5.0_x86_64.so
to
zend_extension=/opt/php52/lib/php/modules/ioncube_loader_lin_5.2_x86_64.so
I then did a restart with
/sbin/service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Followed by:
php -version
PHP 5.2.3 (cli) (built: Aug 27 2007 10:31:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.28, Copyright (c) 2002-2007, by ionCube Ltd.
Everything looks good and all appears to be working....
Any final thoughts?
Failed loading /opt/php51/lib64/php5/extensions/php_ioncube_loader_lin_5.0_x86_6 4.so: /opt/php51/lib64/php5/extensions/php_ioncube_loader_lin_5.0_x86_64.so: un defined symbol: empty_string
PHP 5.2.3 (cli) (built: Aug 27 2007 10:31:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
I went to the directory at /etc/php.d
Modified the file ioncube-loader.ini
Changed the line from:
zend_extension=/opt/php51/lib64/php5/extensions/php_ioncube_loader_lin_5.0_x86_64.so
to
zend_extension=/opt/php52/lib/php/modules/ioncube_loader_lin_5.2_x86_64.so
I then did a restart with
/sbin/service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Followed by:
php -version
PHP 5.2.3 (cli) (built: Aug 27 2007 10:31:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.28, Copyright (c) 2002-2007, by ionCube Ltd.
Everything looks good and all appears to be working....
Any final thoughts?
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Yes, you always need to upgrade you Ioncube Loader version along with your PHP version if you're using Ioncube Loader.
Lemonbit Internet Dedicated Server Management
Noticing one problem
It appears that some PHP code that I wrote that uses the dom doesn't appear to be working now. Not sure what the problem is yet. Here is a sample of the code that doesn't work:
$markerFile = "Test.xml";
$dom = new DOMDocument('1.0', 'utf-8');
$dom->formatOutput = true;
$node = $dom->createElement("markers");
$parnode = $dom->appendChild($node);
$dom->save($markerFile);
Any thoughts?
Michael
$markerFile = "Test.xml";
$dom = new DOMDocument('1.0', 'utf-8');
$dom->formatOutput = true;
$node = $dom->createElement("markers");
$parnode = $dom->appendChild($node);
$dom->save($markerFile);
Any thoughts?
Michael
DOM problem (more)
The PHP code seems to run, but I should note that the file Test.xml is not being created. It could be that something isn't set correctly in the php.ini.
Michael
Michael
Verified DOM Module is loaded
Did a php -m
This lists all the modules that have been loaded. Here is a partial list of the ones that came up for me. As you can see dom is there...
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
date
dba
dom
exif
filter
ftp
gd
gettext
gmp
hash
iconv
imap
json
ldap
libxml
mbstring
mysql
mysqli
ncurses
odbc
openssl
pcntl
pcre
This lists all the modules that have been loaded. Here is a partial list of the ones that came up for me. As you can see dom is there...
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
date
dba
dom
exif
filter
ftp
gd
gettext
gmp
hash
iconv
imap
json
ldap
libxml
mbstring
mysql
mysqli
ncurses
odbc
openssl
pcntl
pcre
Turned on error display
Receiving this error. I did php -info and it says safe mode is off.
Warning: DOMDocument::save() [function.DOMDocument-save]: SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /var/www/vhosts/mydomain.com/httpdocs owned by uid 10001 in /var/www/vhosts/mydomain.com/httpdocs/xmlfile.php on line 10
Any ideas?
-Michael
Warning: DOMDocument::save() [function.DOMDocument-save]: SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /var/www/vhosts/mydomain.com/httpdocs owned by uid 10001 in /var/www/vhosts/mydomain.com/httpdocs/xmlfile.php on line 10
Any ideas?
-Michael
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
The error says the script is owned by uid 0, which is root. I'd change this to match the domain user. Did you disable safe_mode for this through Plesk? Did you check phpinfo() in the dir this script is running (safe_mode is not necessarily the same for every vhost or or even directory)?
Lemonbit Internet Dedicated Server Management
DOM appears to be working now....
Breun,
The httpdocs directory . was owned by ftpadmin, psaserv.
The httpdocs .. is owned by root, root.
My php files were all root, root.
The xml files that get created through the xml.php (dom) are apache, apache.
This was all working before I did the upgrade of php.
To fix it all I did a chown ftpadmin:psaserv *.php. Basically, I gave all the php files the same ownership as the directory.
Not sure what this means securitywise or if this is a no-no...not sure ??
Any changes to my php.ini file that I should make to secure the site??
Here's phpinfo from my httpdocs directory: (I x'ed some things out). I was getting that error in the message above with safe mode off.
phpinfo()
PHP Version => 5.2.3
System => Linux xxxxxxx.onlinehome-server.com 2.6.9-023stab044.11-smp #1 SMP Sat Sep 29 13:36:25 MSD 2007 x86_64
Build Date => Aug 27 2007 10:24:38
Configure Command => './configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-ncurses=shared' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/bin/mysql_config' '--with-mssql=shared' '--enable-dom=shared' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-fastcgi' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--enable-json=shared' '--enable-zip=shared' '--with-readline'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc
Loaded Configuration File => (none)
Scan this dir for additional .ini files => /etc/php.d
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 => php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*
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 => On => On
allow_url_fopen => On => On
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 => On => On
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 => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => no value => no value
expose_php => On => On
extension_dir => /usr/lib64/php/modules => /usr/lib64/php/modules
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/php => .:/usr/share/pear:/usr/share/php
log_errors => Off => Off
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => On => On
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 => 128M => 128M
open_basedir => no value => no value
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 => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => /usr/bin => /usr/bin
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 => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => 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 => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.ze1_compatibility_mode => Off => Off
bz2
BZip2 Support => Enabled
Stream Wrapper support => compress.bz2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.2, 30-Dec-2001
calendar
Calendar support => enabled
ctype
ctype functions => enabled
curl
cURL support => enabled
cURL Information => libcurl/7.13.1 OpenSSL/0.9.7f zlib/1.2.2.2 libidn/0.5.15
date
date/time support => enabled
"Olson" Timezone Database Version => 2007.5
Timezone Database => internal
Default timezone => Europe/Berlin
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
exif
EXIF Support => enabled
EXIF Version => 1.4 $Id: exif.c,v 1.173.2.5.2.19 2007/02/27 03:04:40 iliaa Exp $
Supported EXIF Version => 0220
Supported filetypes => JPEG,TIFF
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
ftp
FTP support => enabled
gettext
GetText Support => enabled
gmp
gmp support => enabled
GMP version => 4.1.4
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
iconv
iconv support => enabled
iconv implementation => glibc
iconv library version => 2.3.6
Directive => Local Value => Master Value
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1
libxml
libXML support => active
libXML Version => 2.6.20
libXML streams => enabled
openssl
OpenSSL support => enabled
OpenSSL Version => OpenSSL 0.9.7f 22 Mar 2005
pcntl
pcntl support => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 5.0 13-Sep-2004
posix
Revision => $Revision: 1.70.2.3.2.15 $
pspell
PSpell Support => enabled
Reflection
Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33.2.39 2007/05/29 08:44:05 helly Exp $
session
Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => php php_binary wddx
Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => On => On
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 => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 4 => 4
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => no value => no value
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => Off => Off
session.use_trans_sid => 0 => 0
shmop
shmop support => enabled
SimpleXML
Simplexml support => enabled
Revision => $Revision: 1.151.2.22.2.26 $
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,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value
sysvmsg
sysvmsg support => enabled
Revision => $Revision: 1.20.2.3.2.6 $
tokenizer
Tokenizer Support => enabled
wddx
WDDX Support => enabled
WDDX Session Serializer => enabled
xml
XML Support => active
XML Namespace Support => active
libxml2 Version => 2.6.20
zlib
ZLib Support => enabled
Stream Wrapper support => compress.zlib://
Stream Filter support => zlib.inflate, zlib.deflate
Compiled Version => 1.2.2.2
Linked Version => 1.2.2.2
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
sysvshm
Environment
Variable => Value
MANPATH => //man:
HOSTNAME => xxxxxxxxx.onlinehome-server.com
TERM => xterm
SHELL => /bin/bash
HISTSIZE => 1000
SSH_CLIENT => xxx.xxx.xxx.xxx 1116 22
OLDPWD => /etc
SSH_TTY => /dev/pts/0
USER => root
LS_COLORS => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL => /var/spool/mail/root
PATH => /usr/kerberos/sbin:/usr/kerberos/bin://sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
INPUTRC => /etc/inputrc
PWD => /var/www/vhosts/mydomain.com/httpdocs
LANG => C
SHLVL => 1
HOME => /root
LOGNAME => root
SSH_CONNECTION => xx.xxx.xxx.xxx 1116 xx.xx.xxx.xxx
LESSOPEN => |/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES => 1
_ => /usr/bin/php
PHP Variables
Variable => Value
_SERVER["MANPATH"] => //man:
_SERVER["HOSTNAME"] => xxxxxxxxx.onlinehome-server.com
_SERVER["TERM"] => xterm
_SERVER["SHELL"] => /bin/bash
_SERVER["HISTSIZE"] => 1000
_SERVER["SSH_CLIENT"] => xx.xxx.xx.xxx 1116 22
_SERVER["OLDPWD"] => /etc
_SERVER["SSH_TTY"] => /dev/pts/0
_SERVER["USER"] => root
_SERVER["LS_COLORS"] => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
_SERVER["MAIL"] => /var/spool/mail/root
_SERVER["PATH"] => /usr/kerberos/sbin:/usr/kerberos/bin://sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
_SERVER["INPUTRC"] => /etc/inputrc
_SERVER["PWD"] => /var/www/vhosts/mydomain.com/httpdocs
_SERVER["LANG"] => C
_SERVER["SHLVL"] => 1
_SERVER["HOME"] => /root
_SERVER["LOGNAME"] => root
_SERVER["SSH_CONNECTION"] => xx.xx.xx.xxx 1116 xx.xxx.xx.xxx 22
_SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s
_SERVER["G_BROKEN_FILENAMES"] => 1
_SERVER["_"] => /usr/bin/php
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] => 1192068791
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["MANPATH"] => //man:
_ENV["HOSTNAME"] => xxxxxxx.onlinehome-server.com
_ENV["TERM"] => xterm
_ENV["SHELL"] => /bin/bash
_ENV["HISTSIZE"] => 1000
_ENV["SSH_CLIENT"] => xx.xxx.xx.xxx 1116 22
_ENV["OLDPWD"] => /etc
_ENV["SSH_TTY"] => /dev/pts/0
_ENV["USER"] => root
_ENV["LS_COLORS"] => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
_ENV["MAIL"] => /var/spool/mail/root
_ENV["PATH"] => /usr/kerberos/sbin:/usr/kerberos/bin://sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
_ENV["INPUTRC"] => /etc/inputrc
_ENV["PWD"] => /var/www/vhosts/mydomain.com/httpdocs
_ENV["LANG"] => C
_ENV["SHLVL"] => 1
_ENV["HOME"] => /root
_ENV["LOGNAME"] => root
_ENV["SSH_CONNECTION"] => xx.xxx.xx.xxx 1116 xx.xxx.xx.xxx 22
_ENV["LESSOPEN"] => |/usr/bin/lesspipe.sh %s
_ENV["G_BROKEN_FILENAMES"] => 1
_ENV["_"] => /usr/bin/php
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.
Thanks,
Michael
The httpdocs directory . was owned by ftpadmin, psaserv.
The httpdocs .. is owned by root, root.
My php files were all root, root.
The xml files that get created through the xml.php (dom) are apache, apache.
This was all working before I did the upgrade of php.
To fix it all I did a chown ftpadmin:psaserv *.php. Basically, I gave all the php files the same ownership as the directory.
Not sure what this means securitywise or if this is a no-no...not sure ??
Any changes to my php.ini file that I should make to secure the site??
Here's phpinfo from my httpdocs directory: (I x'ed some things out). I was getting that error in the message above with safe mode off.
phpinfo()
PHP Version => 5.2.3
System => Linux xxxxxxx.onlinehome-server.com 2.6.9-023stab044.11-smp #1 SMP Sat Sep 29 13:36:25 MSD 2007 x86_64
Build Date => Aug 27 2007 10:24:38
Configure Command => './configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-ncurses=shared' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/bin/mysql_config' '--with-mssql=shared' '--enable-dom=shared' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-fastcgi' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--enable-json=shared' '--enable-zip=shared' '--with-readline'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc
Loaded Configuration File => (none)
Scan this dir for additional .ini files => /etc/php.d
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 => php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*
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 => On => On
allow_url_fopen => On => On
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 => On => On
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 => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => no value => no value
expose_php => On => On
extension_dir => /usr/lib64/php/modules => /usr/lib64/php/modules
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/php => .:/usr/share/pear:/usr/share/php
log_errors => Off => Off
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => On => On
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 => 128M => 128M
open_basedir => no value => no value
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 => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => /usr/bin => /usr/bin
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 => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => 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 => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.ze1_compatibility_mode => Off => Off
bz2
BZip2 Support => Enabled
Stream Wrapper support => compress.bz2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.2, 30-Dec-2001
calendar
Calendar support => enabled
ctype
ctype functions => enabled
curl
cURL support => enabled
cURL Information => libcurl/7.13.1 OpenSSL/0.9.7f zlib/1.2.2.2 libidn/0.5.15
date
date/time support => enabled
"Olson" Timezone Database Version => 2007.5
Timezone Database => internal
Default timezone => Europe/Berlin
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
exif
EXIF Support => enabled
EXIF Version => 1.4 $Id: exif.c,v 1.173.2.5.2.19 2007/02/27 03:04:40 iliaa Exp $
Supported EXIF Version => 0220
Supported filetypes => JPEG,TIFF
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
ftp
FTP support => enabled
gettext
GetText Support => enabled
gmp
gmp support => enabled
GMP version => 4.1.4
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
iconv
iconv support => enabled
iconv implementation => glibc
iconv library version => 2.3.6
Directive => Local Value => Master Value
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1
libxml
libXML support => active
libXML Version => 2.6.20
libXML streams => enabled
openssl
OpenSSL support => enabled
OpenSSL Version => OpenSSL 0.9.7f 22 Mar 2005
pcntl
pcntl support => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 5.0 13-Sep-2004
posix
Revision => $Revision: 1.70.2.3.2.15 $
pspell
PSpell Support => enabled
Reflection
Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33.2.39 2007/05/29 08:44:05 helly Exp $
session
Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => php php_binary wddx
Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => On => On
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 => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 4 => 4
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => no value => no value
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => Off => Off
session.use_trans_sid => 0 => 0
shmop
shmop support => enabled
SimpleXML
Simplexml support => enabled
Revision => $Revision: 1.151.2.22.2.26 $
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,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value
sysvmsg
sysvmsg support => enabled
Revision => $Revision: 1.20.2.3.2.6 $
tokenizer
Tokenizer Support => enabled
wddx
WDDX Support => enabled
WDDX Session Serializer => enabled
xml
XML Support => active
XML Namespace Support => active
libxml2 Version => 2.6.20
zlib
ZLib Support => enabled
Stream Wrapper support => compress.zlib://
Stream Filter support => zlib.inflate, zlib.deflate
Compiled Version => 1.2.2.2
Linked Version => 1.2.2.2
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
sysvshm
Environment
Variable => Value
MANPATH => //man:
HOSTNAME => xxxxxxxxx.onlinehome-server.com
TERM => xterm
SHELL => /bin/bash
HISTSIZE => 1000
SSH_CLIENT => xxx.xxx.xxx.xxx 1116 22
OLDPWD => /etc
SSH_TTY => /dev/pts/0
USER => root
LS_COLORS => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL => /var/spool/mail/root
PATH => /usr/kerberos/sbin:/usr/kerberos/bin://sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
INPUTRC => /etc/inputrc
PWD => /var/www/vhosts/mydomain.com/httpdocs
LANG => C
SHLVL => 1
HOME => /root
LOGNAME => root
SSH_CONNECTION => xx.xxx.xxx.xxx 1116 xx.xx.xxx.xxx
LESSOPEN => |/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES => 1
_ => /usr/bin/php
PHP Variables
Variable => Value
_SERVER["MANPATH"] => //man:
_SERVER["HOSTNAME"] => xxxxxxxxx.onlinehome-server.com
_SERVER["TERM"] => xterm
_SERVER["SHELL"] => /bin/bash
_SERVER["HISTSIZE"] => 1000
_SERVER["SSH_CLIENT"] => xx.xxx.xx.xxx 1116 22
_SERVER["OLDPWD"] => /etc
_SERVER["SSH_TTY"] => /dev/pts/0
_SERVER["USER"] => root
_SERVER["LS_COLORS"] => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
_SERVER["MAIL"] => /var/spool/mail/root
_SERVER["PATH"] => /usr/kerberos/sbin:/usr/kerberos/bin://sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
_SERVER["INPUTRC"] => /etc/inputrc
_SERVER["PWD"] => /var/www/vhosts/mydomain.com/httpdocs
_SERVER["LANG"] => C
_SERVER["SHLVL"] => 1
_SERVER["HOME"] => /root
_SERVER["LOGNAME"] => root
_SERVER["SSH_CONNECTION"] => xx.xx.xx.xxx 1116 xx.xxx.xx.xxx 22
_SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s
_SERVER["G_BROKEN_FILENAMES"] => 1
_SERVER["_"] => /usr/bin/php
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] => 1192068791
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["MANPATH"] => //man:
_ENV["HOSTNAME"] => xxxxxxx.onlinehome-server.com
_ENV["TERM"] => xterm
_ENV["SHELL"] => /bin/bash
_ENV["HISTSIZE"] => 1000
_ENV["SSH_CLIENT"] => xx.xxx.xx.xxx 1116 22
_ENV["OLDPWD"] => /etc
_ENV["SSH_TTY"] => /dev/pts/0
_ENV["USER"] => root
_ENV["LS_COLORS"] => no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
_ENV["MAIL"] => /var/spool/mail/root
_ENV["PATH"] => /usr/kerberos/sbin:/usr/kerberos/bin://sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
_ENV["INPUTRC"] => /etc/inputrc
_ENV["PWD"] => /var/www/vhosts/mydomain.com/httpdocs
_ENV["LANG"] => C
_ENV["SHLVL"] => 1
_ENV["HOME"] => /root
_ENV["LOGNAME"] => root
_ENV["SSH_CONNECTION"] => xx.xxx.xx.xxx 1116 xx.xxx.xx.xxx 22
_ENV["LESSOPEN"] => |/usr/bin/lesspipe.sh %s
_ENV["G_BROKEN_FILENAMES"] => 1
_ENV["_"] => /usr/bin/php
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.
Thanks,
Michael