Solved

Differences between PHP runnin on MS Server 2003 and Apache

Posted on 2006-11-25
8
6,306 Views
Last Modified: 2013-12-12
Hi!

I would like to ask you, if there are significant differences in functionality in PHP running on MS server and Apache -

we have problem with one web application in PHP using MYSQL and JAVA scripts - the application works well on server with Apache and Linux, but we wanted to run it also on our new server with MS server 2003 - here we experience some problems when we have copied the files from the Apache/Linux server.

There might be possibility, that the MS Server is still not installed well, may be some problem with PHP ext .dll etc... that's why I am asking if most applications, which run under Apache/Linux written in PHP - using MySQL and Java should function the same on MS Server with the same version of PHP, MySQL and Java as is installed on the server with Apache/Linux

thanks!
0
Comment
Question by:pplan
  • 5
  • 3
8 Comments
 
LVL 20

Expert Comment

by:Muhammad Wasif
Comment Utility
>>>we have problem with one web application in PHP using MYSQL and JAVA scripts

JAVA scripts or Java?

I think you have not enabled MySQL support in PHP. I have replied in your other question, please check that.
0
 

Author Comment

by:pplan
Comment Utility
thanks for your reply -

JAVA - sorry

the MySQL support is enabled - but we experience sometimes problems with writting data into the database - on APACHE the PHP program runs well, but when I want to run it on MS Server 2003 -
if we use simple request to add data to the database - it is OK, but when we use "IF" and some criteria in the php file, sometimes it cause us not writting the data into the database... (but again - on APACHE/LINUX) it works well... that's why I am asking, if there are some differences between MS Server (IIS6) and APACHE - in php writting and running programs or if program which was written in php and works well on Apache should also work well on MS Server...
0
 
LVL 20

Expert Comment

by:Muhammad Wasif
Comment Utility
There should not be any problem if you are not using any OS dependent functions. "IF, ELSE" is not be the problem. If your script is using JAVA then you must install it on MS server.
0
 

Author Comment

by:pplan
Comment Utility
thanks for your answer, we have JAVA installed - JAVA seems to work well
what I have seen for example - that this worked on our APACHE server;
<? echo $number; ?> but did not work on MS Server with IIS6 - we had to change it into <?php echo $apartment; ?> - and this already works - it seems to me, that APACHE can accept something, which MSServer can not, is it right? or do we have some problem in PHP/MYSQL installation?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 20

Expert Comment

by:Muhammad Wasif
Comment Utility
this can be the problem

open php.ini and search for 'short_open_tag' and change its value to 'On' like below line

short_open_tag = On
0
 
LVL 20

Expert Comment

by:Muhammad Wasif
Comment Utility
Also compare php.ini (MS server and Linux) using phpinfo()
0
 

Author Comment

by:pplan
Comment Utility
thanks for the two advices - the one with short_open_tag = On worked out for the <? echo $number; ?>

but it did not solve the problem wtih the MySQL -

this is the output of the APACHE/LINUX test.php (and under is the output of MS Server 2003 test.php):


PHP Version 5.1.6

System  Linux www2 2.6.18.1 #1 SMP Mon Oct 16 23:43:40 CEST 2006 i686  
Build Date  Oct 17 2006 01:33:39  
Configure Command  './configure' '--enable-inline-optimization' '--enable-pic' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-ftp' '--with-mysql=/usr/local' '--with-zlib=/usr' '--enable-bcmath' '--enable-exif' '--enable-ctype' '--with-imap-ssl=/usr' '--with-openssl=/usr' '--with-ttf=/usr/local' '--with-xml=/usr/local' '--enable-sockets' '--enable-gd-native-ttf' '--with-curl=/usr/local' '--enable-trans-sid' '--enable-sigchild' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-magic-quotes' '--with-pgsql=/usr/local/pgsql' '--with-gd' '--enable-zend-multibyte' '--with-imap=/DISK2/src/imap-2006a' '--with-zip=/usr/local' '--with-bz2' '--with-gdbm=/usr/local' '--with-pdflib=/usr/local' '--enable-shared' '--enable-memory-limit' '--disable-posix' '--with-freetype-dir=/usr/local' '--with-mhash=/usr/local' '--disable-rpath' '--with-iconv=/usr/local' '--with-iconv-dir=/usr/local' '--with-png-dir=/usr/local' '--with-xsl=/usr/local' '--with-mcrypt=/usr/local' '--with-interbase=/usr/local/firebird' '--with-dom=/usr/local' '--enable-mbstring' '--enable-mbregex' '--enable-wddx' '--with-jpeg-dir=/usr/local' '--with-gmp=/usr/local' '--with-expat-dir=/usr/local' '--with-openssl-dir=/usr' '--with-zlib-dir=/usr' '--with-xmlrpc' '--enable-soap' '--enable-dbx' '--with-gettext=/usr' '--with-mime-magic' '--with-mysqli' '--disable-ipv6' '--enable-sqlite-utf8' '--with-sqlite=/usr/local' '--with-pdo-mysql=/usr/local' '--with-pdo-pgsql=/usr/local' '--with-pdo-sqlite=/usr/local' '--enable-xmlreader' '--enable-xmlwriter' '--with-ming=/usr/local'  
Server API  Apache 2.0 Handler  
Virtual Directory Support  disabled  
Configuration File (php.ini) Path  /usr/local/Zend/etc/php.ini  
PHP API  20041225  
PHP Extension  20050922  
Zend Extension  220051025  
Debug Build  no  
Thread Safety  disabled  
Zend Memory Manager  enabled  
IPv6 Support  disabled  
Registered PHP Streams  php, file, http, ftp, compress.bzip2, compress.zlib, https, ftps, zip  
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.1.0, Copyright (c) 1998-2006 Zend Technologies
    with eAccelerator v0.9.5, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
    with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies
 


--------------------------------------------------------------------------------

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags On On
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap /usr/local/etc/browscap.ini /usr/local/etc/browscap.ini
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
detect_unicode On On
disable_classes no value no value
disable_functions leak, pfsockopen, shell_exec, syslog, proc_open, glob leak, pfsockopen, shell_exec, syslog, proc_open, glob
display_errors On On
display_startup_errors Off Off
doc_root /DISK2/WWW /DISK2/WWW
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 no value no value
error_prepend_string no value no value
error_reporting 2039 2039
expose_php Off Off
extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20050922 /usr/local/lib/php/extensions/no-debug-non-zts-20050922
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path . .
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 5 5
max_input_time 5 5
memory_limit 6M 6M
open_basedir /DISK2/WWW:/DISK3/WWW:/DISK4/WWW:/DISK2/TMP /DISK2/WWW:/DISK3/WWW:/DISK4/WWW:/DISK2/TMP
output_buffering no value no value
output_handler ob_gzhandler ob_gzhandler
post_max_size 8M 8M
precision 12 12
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 On On
safe_mode On On
safe_mode_exec_dir /dev/null /dev/null
safe_mode_gid Off Off
safe_mode_include_dir . .
sendmail_from apache@www2.xxx.xxx apache@www2.xxxx.xxx
sendmail_path /usr/exim/bin/exim -t -i -f apache@www2.xxxxxx.xxx /usr/exim/bin/exim -t -i -f apache@www2.xxxxx.xxx
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 8M 8M
upload_tmp_dir /DISK2/TMP /DISK2/TMP
user_dir /dev/null /dev/null
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off


apache2handler
Apache Version  Apache  
Apache API Version  20020903  
Server Administrator  apache@www2.xxxxxx.xxx  
Hostname:Port  www2.xxxxxx.xxx:0  
User/Group  nobody(99)/98  
Max Requests  Per Child: 0 - Keep Alive: off - Max Per Connection: 0  
Timeouts  Connection: 20 - Keep-Alive: 15  
Virtual Server  Yes  
Server Root  /usr/local/apache2  
Loaded Modules  core mod_access mod_auth mod_deflate mod_log_config mod_setenvif mod_ssl prefork http_core mod_mime mod_dav mod_status mod_autoindex mod_cgi mod_dav_fs mod_vhost_alias mod_dir mod_rewrite mod_so mod_php5 mod_jk mod_auth_mysql mod_myacct2 mod_dav_svn  

Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0


Apache Environment
Variable Value
SCRIPT_URL  /test.php  
SCRIPT_URI  http://xxxxxxxxxxxxxxxxxx.xxx/test.php  
HTTP_ACCEPT  image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*  
HTTP_ACCEPT_LANGUAGE  cs  
HTTP_ACCEPT_ENCODING  gzip, deflate  
HTTP_USER_AGENT  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)  
HTTP_HOST  aaa.prague-apartment-rentals.com  
HTTP_CONNECTION  Keep-Alive  
PATH  /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin  
SERVER_SIGNATURE  <address>Apache Server at xxxxxxxxxxxxxxxxx.com Port 80</address>  
SERVER_SOFTWARE  Apache  
SERVER_NAME  xxxxxxxxxxxxxxxxxxxx.com  
SERVER_ADDR  193.86.238.12  
SERVER_PORT  80  
REMOTE_ADDR  86.49.84.89  
DOCUMENT_ROOT  /usr/local/apache2/htdocs  
SERVER_ADMIN  apache@www2.xxxxxxxxxx.xxx  
SCRIPT_FILENAME  /DISK2/WWW/xxxxxxxxxxxxxxxxxxxxxxx/aaa/test.php  
REMOTE_PORT  2057  
GATEWAY_INTERFACE  CGI/1.1  
SERVER_PROTOCOL  HTTP/1.1  
REQUEST_METHOD  GET  
QUERY_STRING  no value  
REQUEST_URI  /test.php  
SCRIPT_NAME  /test.php  


HTTP Headers Information
HTTP Request Headers
HTTP Request  GET /test.php HTTP/1.1  
Accept  image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*  
Accept-Language  cs  
Accept-Encoding  gzip, deflate  
User-Agent  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)  
Host  xxxxxxxxxxxxxxxxxxxx.com  
Connection  Keep-Alive  
HTTP Response Headers


bcmath
BCMath support  enabled  


bz2
BZip2 Support  Enabled  
Stream Wrapper support  compress.bz2://  
Stream Filter support  bzip2.decompress, bzip2.compress  
BZip2 Version  1.0.3, 15-Feb-2005  


calendar
Calendar support  enabled  


ctype
ctype functions  enabled  


curl
CURL support  enabled  
CURL Information  libcurl/7.15.5 OpenSSL/0.9.8d zlib/1.2.3  


date
date/time support  enabled  
Timezone Database Version  2006.1  
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


dba
DBA support  enabled  
Supported handlers  gdbm cdb cdb_make inifile flatfile  


dom
DOM/XML  enabled  
DOM/XML API Version  20031129  
libxml Version  2.6.26  
HTML Support  enabled  
XPath Support  enabled  
XPointer Support  enabled  
Schema Support  enabled  
RelaxNG Support  enabled  


eAccelerator
eAccelerator support enabled
Version  0.9.5  
Caching Enabled  false  
Optimizer Enabled  true  
Memory Size  1,048,540 Bytes  
Memory Available  1,044,396 Bytes  
Memory Allocated  4,144 Bytes  
Cached Scripts  0  
Removed Scripts  0  
Cached Keys  0  

Directive Local Value Master Value
eaccelerator.allowed_admin_path no value no value
eaccelerator.cache_dir /DISK2/TMP/eaccelerator /DISK2/TMP/eaccelerator
eaccelerator.check_mtime 1 1
eaccelerator.compress 1 1
eaccelerator.compress_level 9 9
eaccelerator.debug 0 0
eaccelerator.enable 0 0
eaccelerator.filter no value no value
eaccelerator.log_file no value no value
eaccelerator.name_space no value no value
eaccelerator.optimizer 1 1
eaccelerator.shm_max 0 0
eaccelerator.shm_only 0 0
eaccelerator.shm_prune_period 0 0
eaccelerator.shm_size 1 1
eaccelerator.shm_ttl 0 0


exif
EXIF Support  enabled  
EXIF Version  1.4 $Id: exif.c,v 1.173.2.5 2006/04/10 18:23:24 helly Exp $  
Supported EXIF Version  0220  
Supported filetypes  JPEG,TIFF  


ftp
FTP support  enabled  


gd
GD Support  enabled  
GD Version  bundled (2.0.28 compatible)  
FreeType Support  enabled  
FreeType Linkage  with freetype  
FreeType Version  2.2.1  
GIF Read Support  enabled  
GIF Create Support  enabled  
JPG Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  
XBM Support  enabled  


gettext
GetText Support  enabled  


gmp
gmp support  enabled  


hash
hash support enabled
Hashing Engines md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 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  1.11  

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


imap
IMAP c-Client Version  2004  
SSL Support  enabled  


interbase
Firebird/InterBase Support  static  
Compile-time Client Library Version  Firebird API version 20  
Run-time Client Library Version  LI-V2.0.0.12745 Firebird 2.0 Release Candidate 5  

Directive Local Value Master Value
ibase.allow_persistent Off Off
ibase.dateformat %Y-%m-%d %Y-%m-%d
ibase.default_charset no value no value
ibase.default_db no value no value
ibase.default_password no value no value
ibase.default_user no value no value
ibase.max_links Unlimited Unlimited
ibase.max_persistent Unlimited Unlimited
ibase.timeformat %H:%M:%S %H:%M:%S
ibase.timestampformat %Y-%m-%d %H:%M:%S %Y-%m-%d %H:%M:%S


libxml
libXML support  active  
libXML Version  2.6.26  
libXML streams  enabled  


mbstring
Multibyte Support  enabled  
Multibyte string engine  libmbfl  
Multibyte (japanese) regex support  enabled  
Multibyte regex (oniguruma) version  3.7.1  

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 no value no value
mbstring.language neutral neutral
mbstring.script_encoding no value no value
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value


mcrypt
mcrypt support enabled
Version  2.5.7  
Api No  20021217  
Supported ciphers  cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes  
Supported modes  cbc cfb ctr ecb ncfb nofb ofb stream  

Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value


mhash
MHASH support  Enabled  
MHASH API Version  20060101  


mime_magic
mime_magic support invalid magic file, disabled

Directive Local Value Master Value
mime_magic.debug Off Off
mime_magic.magicfile /etc/magic.mime /etc/magic.mime


ming
Ming SWF output library  enabled  
Version  0.4.0-beta  


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

Directive Local Value Master Value
mysql.allow_persistent Off Off
mysql.connect_timeout 5 5
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


mysqli
MysqlI Support enabled
Client API library version  5.0.26  
Client API header version  5.0.26  
MYSQLI_SOCKET  /tmp/mysql.sock  

Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off


openssl
OpenSSL support  enabled  
OpenSSL Version  OpenSSL 0.9.8d 28 Sep 2006  


pcre
PCRE (Perl Compatible Regular Expressions) Support  enabled  
PCRE Library Version  6.6 06-Feb-2006  


PDO
PDO support enabled
PDO drivers  sqlite2, sqlite, pgsql, mysql  


pdo_mysql
PDO Driver for MySQL, client library version 5.0.26


pdo_pgsql
PDO Driver for PostgreSQL enabled
PostgreSQL(libpq) Version  8.1.4  
Module version  1.0.2  
Revision  $Id: pdo_pgsql.c,v 1.7.2.11 2006/03/14 10:49:18 edink Exp $  


pdo_sqlite
PDO Driver for SQLite 3.x enabled
PECL Module version  1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6 2006/01/01 12:50:12 sniper Exp $  
SQLite Library  3.3.8  


pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version  8.1.4  
Multibyte character support  enabled  
SSL support  disabled  
Active Persistent Links  0  
Active Links  0  

Directive Local Value Master Value
pgsql.allow_persistent Off Off
pgsql.auto_reset_persistent Off Off
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited


Reflection
Reflection enabled
Version  $Id: php_reflection.c,v 1.164.2.33 2006/03/29 14:28:42 tony2001 Exp $  


session
Session Support  enabled  
Registered save handlers  files user sqlite  
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_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 /DISK2/TMP/sessions /DISK2/TMP/sessions
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 $  
Schema support  enabled  


soap
Soap Client  enabled  
Soap Server  enabled  

Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir /DISK2/TMP /DISK2/TMP
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400


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, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException  


SQLite
SQLite support enabled
PECL Module version  2.0-dev $Id: sqlite.c,v 1.166.2.13 2006/04/18 14:30:15 iliaa Exp $  
SQLite Library  2.8.17  
SQLite Encoding  UTF-8  

Directive Local Value Master Value
sqlite.assoc_case 0 0


standard
Regex Library  Bundled library enabled  
Dynamic Library Support  enabled  
Path to sendmail  /usr/exim/bin/exim -t -i -f apache@www2.pipni.cz  

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 5 5
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=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value


tokenizer
Tokenizer Support  enabled  


wddx
WDDX Support enabled
WDDX Session Serializer  enabled  


xml
XML Support  active  
XML Namespace Support  active  
libxml2 Version  2.6.26  


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.17  
libxslt compiled against libxml Version  2.6.26  
EXSLT  enabled  
libexslt Version  1.1.17  


Zend Optimizer
Optimization Pass 1  enabled  
Optimization Pass 2  enabled  
Optimization Pass 3  enabled  
Optimization Pass 4  enabled  
Optimization Pass 9  disabled  
Zend Loader  enabled  
License Path  no value  


zip
Zip  enabled  
Extension Version  $Id: php_zip.c,v 1.78 2006/09/24 22:34:38 pajoye Exp $  
Zip version  1.7.4  
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
dbase


Environment
Variable Value
MANPATH  /usr/local/man:/usr/man:/usr/X11R6/man:/usr/lib/java/man  
HOSTNAME  www2.xxxxxx.xxx  
TERM  linux  
SHELL  /bin/bash  
SSH_CLIENT  xx.xxx.xxx.xxx 2618 22  
SSH_TTY  /dev/pts/0  
LC_ALL  cs_CZ  
USER  root  
LS_COLORS  no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.bat=01;32:*.BAT=01;32:*.btm=01;32:*.BTM=01;32:*.cmd=01;32:*.CMD=01;32:*.com=01;32:*.COM=01;32:*.dll=01;32:*.DLL=01;32:*.exe=01;32:*.EXE=01;32:*.arj=01;31:*.bz2=01;31:*.deb=01;31:*.gz=01;31:*.lzh=01;31:*.rar=01;31:*.RAR=01;31:*.rpm=01;31:*.tar=01;31:*.taz=01;31:*.tb2=01;31:*.tbz2=01;31:*.tbz=01;31:*.tgz=01;31:*.tz2=01;31:*.z=01;31:*.Z=01;31:*.zip=01;31:*.ZIP=01;31:*.zoo=01;31:*.asf=01;35:*.ASF=01;35:*.avi=01;35:*.AVI=01;35:*.bmp=01;35:*.BMP=01;35:*.flac=01;35:*.FLAC=01;35:*.gif=01;35:*.GIF=01;35:*.jpg=01;35:*.JPG=01;35:*.jpeg=01;35:*.JPEG=01;35:*.m2a=01;35:*.M2A=01;35:*.m2v=01;35:*.M2V=01;35:*.m4a=01;35:*.M4A=01;35:*.m4p=01;35:*.M4P=01;35:*.m4v=01;35:*.M4V=01;35:*.mov=01;35:*.MOV=01;35:*.mp3=01;35:*.MP3=01;35:*.mpc=01;35:*.MPC=01;35:*.mpeg=01;35:*.MPEG=01;35:*.mpg=01;35:*.MPG=01;35:*.ogg=01;35:*.OGG=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.PNG=01;35:*.ppm=01;35:*.rm=01;35:*.RM=01;35:*.tga=01;35:*.TGA=01;35:*.tif=01;35:*.TIF=01;35:*.tiff=01;35:*.TIFF=01;35:*.wav=01;35:*.WAV=01;35:*.wma=01;35:*.WMA=01;35:*.wmv=01;35:*.WMV=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.xwd=01;35:*.XWD=01;35:  
SSH_AUTH_SOCK  /tmp/ssh-Funmg16720/agent.16720  
MINICOM  -c on  
MAIL  /var/mail/root  
PATH  /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin  
LC_COLLATE  C  
INPUTRC  /etc/inputrc  
PWD  /root  
JAVA_HOME  /usr/lib/java  
LANG  cs_CZ  
PS1  \u@\h:\w\$  
PS2  >  
SHLVL  1  
HOME  /root  
LS_OPTIONS  -F -b -T 0 --color=auto  
LESS  -M  
LOGNAME  root  
SSH_CONNECTION  xx.xxx.xxx.xxx 2618 xxx.xx.xxx.xx 22  
LESSOPEN  |lesspipe.sh %s  
_  /usr/local/apache2/bin/httpd  


PHP Variables
Variable Value
_SERVER["SCRIPT_URL"] /test.php
_SERVER["SCRIPT_URI"] http://xxxxxxxxxxxxxxx.xxx/test.php
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] cs
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
_SERVER["HTTP_HOST"] xxxxxxxxxxxxxxxxxx.xxx
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["PATH"] /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin
_SERVER["SERVER_SIGNATURE"] <address>Apache Server at xxxxxxxxxxxxxxx.xxx Port 80</address>  
_SERVER["SERVER_SOFTWARE"] Apache
_SERVER["SERVER_NAME"] xxxxxxxxxxxxxx.xxx
_SERVER["SERVER_ADDR"] xxx.xx.xxx.xx
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] xx.xx.xx.xx
_SERVER["DOCUMENT_ROOT"] /usr/local/apache2/htdocs
_SERVER["SERVER_ADMIN"] apache@www2.xxxxxx.xxx
_SERVER["SCRIPT_FILENAME"] /DISK2/WWW/xxxxxxxxxxx.xxx/aaa/test.php
_SERVER["REMOTE_PORT"] 2057
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /test.php
_SERVER["SCRIPT_NAME"] /test.php
_SERVER["PHP_SELF"] /test.php
_SERVER["REQUEST_TIME"] 1164541957
_SERVER["argv"] Array
_SERVER["argc"] 0
_ENV["MANPATH"] /usr/local/man:/usr/man:/usr/X11R6/man:/usr/lib/java/man
_ENV["HOSTNAME"] www2.xxxxxxxx.xxx
_ENV["TERM"] linux
_ENV["SHELL"] /bin/bash
_ENV["SSH_CLIENT"] xx.xxx.xxx.xxx 2618 22
_ENV["SSH_TTY"] /dev/pts/0
_ENV["LC_ALL"] cs_CZ
_ENV["USER"] root
_ENV["LS_COLORS"] no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.bat=01;32:*.BAT=01;32:*.btm=01;32:*.BTM=01;32:*.cmd=01;32:*.CMD=01;32:*.com=01;32:*.COM=01;32:*.dll=01;32:*.DLL=01;32:*.exe=01;32:*.EXE=01;32:*.arj=01;31:*.bz2=01;31:*.deb=01;31:*.gz=01;31:*.lzh=01;31:*.rar=01;31:*.RAR=01;31:*.rpm=01;31:*.tar=01;31:*.taz=01;31:*.tb2=01;31:*.tbz2=01;31:*.tbz=01;31:*.tgz=01;31:*.tz2=01;31:*.z=01;31:*.Z=01;31:*.zip=01;31:*.ZIP=01;31:*.zoo=01;31:*.asf=01;35:*.ASF=01;35:*.avi=01;35:*.AVI=01;35:*.bmp=01;35:*.BMP=01;35:*.flac=01;35:*.FLAC=01;35:*.gif=01;35:*.GIF=01;35:*.jpg=01;35:*.JPG=01;35:*.jpeg=01;35:*.JPEG=01;35:*.m2a=01;35:*.M2A=01;35:*.m2v=01;35:*.M2V=01;35:*.m4a=01;35:*.M4A=01;35:*.m4p=01;35:*.M4P=01;35:*.m4v=01;35:*.M4V=01;35:*.mov=01;35:*.MOV=01;35:*.mp3=01;35:*.MP3=01;35:*.mpc=01;35:*.MPC=01;35:*.mpeg=01;35:*.MPEG=01;35:*.mpg=01;35:*.MPG=01;35:*.ogg=01;35:*.OGG=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.PNG=01;35:*.ppm=01;35:*.rm=01;35:*.RM=01;35:*.tga=01;35:*.TGA=01;35:*.tif=01;35:*.TIF=01;35:*.tiff=01;35:*.TIFF=01;35:*.wav=01;35:*.WAV=01;35:*.wma=01;35:*.WMA=01;35:*.wmv=01;35:*.WMV=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.xwd=01;35:*.XWD=01;35:
_ENV["SSH_AUTH_SOCK"] /tmp/ssh-Funmg16720/agent.16720
_ENV["MINICOM"] -c on
_ENV["MAIL"] /var/mail/root
_ENV["PATH"] /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin
_ENV["LC_COLLATE"] C
_ENV["INPUTRC"] /etc/inputrc
_ENV["PWD"] /root
_ENV["JAVA_HOME"] /usr/lib/java
_ENV["LANG"] cs_CZ
_ENV["PS1"] \u@\h:\w\$  
_ENV["PS2"] >  
_ENV["SHLVL"] 1
_ENV["HOME"] /root
_ENV["LS_OPTIONS"] -F -b -T 0 --color=auto  
_ENV["LESS"] -M
_ENV["LOGNAME"] root
_ENV["SSH_CONNECTION"] xx.xxx.xxx.xxx 2618 xxx.xx.xxx.xx 22
_ENV["LESSOPEN"] |lesspipe.sh %s
_ENV["_"] /usr/local/apache2/bin/httpd


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.
 
********************************************************************

output for MS Server 2003 test.php:

PHP Version 5.2.0

System  Windows NT BLUEBERRY 5.2 build 3790  
Build Date  Nov 2 2006 11:50:55  
Configure Command  cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"  
Server API  ISAPI  
Virtual Directory Support  enabled  
Configuration File (php.ini) Path  C:\php\php.ini  
PHP API  20041225  
PHP Extension  20060613  
Zend Extension  220060519  
Debug Build  no  
Thread Safety  enabled  
Zend Memory Manager  enabled  
IPv6 Support  enabled  
Registered PHP Streams  php, file, data, http, ftp, compress.zlib, compress.bzip2, zip  
Registered Stream Socket Transports  tcp, udp  
Registered Stream Filters  convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*, bzip2.*  

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


--------------------------------------------------------------------------------

PHP Credits

--------------------------------------------------------------------------------

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference Off Off
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 c:/php/extras/php_browscap.ini c:/php/extras/php_browscap.ini
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 On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6143 6143
expose_php On On
extension_dir c:\php\ext\ c:\php\ext\
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;C:\php5\pear .;C:\php5\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 30 30
max_input_time 60 60
open_basedir no value no value
output_buffering 4096 4096
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 Off Off
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
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 no value no value
serialize_precision 100 100
short_open_tag Off Off
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 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.2, 30-Dec-2001  


calendar
Calendar support  enabled  


com_dotnet
COM support enabled
DCOM support disabled
.Net support enabled

Directive Local Value Master Value
com.allow_dcom 0 0
com.autoregister_casesensitive 1 1
com.autoregister_typelib 0 0
com.autoregister_verbose 0 0
com.code_page no value no value
com.typelib_file no value no value


cpdf
CPDF Support  enabled  
Version  2.02-r1-2  


ctype
ctype functions  enabled  


date
date/time support  enabled  
Timezone Database Version  2006.14  
Timezone Database  internal  
Default timezone  Europe/Paris  

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


dba
DBA support  enabled  
Supported handlers  cdb cdb_make db3 inifile flatfile  


dbx
dbx support  enabled  
dbx version  1.1.0  
supported databases  MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT SQLite  

Directive Local Value Master Value
dbx.colnames_case unchanged unchanged


dom
DOM/XML  enabled  
DOM/XML API Version  20031129  
libxml Version  2.6.26  
HTML Support  enabled  
XPath Support  enabled  
XPointer Support  enabled  
Schema Support  enabled  
RelaxNG Support  enabled  


fdf
FDF Support  enabled  
FdfTk Version  5.0  


filter
Input Validation and Filtering enabled
Revision  $Revision: 1.52.2.25 $  

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


ftp
FTP support  enabled  


gd
GD Support  enabled  
GD Version  bundled (2.0.28 compatible)  
FreeType Support  enabled  
FreeType Linkage  with freetype  
FreeType Version  2.1.9  
T1Lib Support  enabled  
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  md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 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  "libiconv"  
iconv library version  1.9  

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


iisfunc
IIS Admin Functions support  enabled  


imap
IMAP c-Client Version  2004  
SSL Support  enabled  


interbase
Firebird/InterBase Support  dynamic  
Compile-time Client Library Version  Interbase 6  
Run-time Client Library Version  Firebird 1.0/Interbase 6  

Directive Local Value Master Value
ibase.allow_persistent On On
ibase.dateformat %Y-%m-%d %Y-%m-%d
ibase.default_charset no value no value
ibase.default_db no value no value
ibase.default_password no value no value
ibase.default_user no value no value
ibase.max_links Unlimited Unlimited
ibase.max_persistent Unlimited Unlimited
ibase.timeformat %H:%M:%S %H:%M:%S
ibase.timestampformat %Y-%m-%d %H:%M:%S %Y-%m-%d %H:%M:%S


ISAPI
Server Variable Value
CONTENT_LENGTH  0  
PATH_TRANSLATED  E:\www\xxxxxxxxxxxxxxx\top\test.php  
REMOTE_ADDR  86.49.84.89  
REMOTE_HOST  86.49.84.89  
REQUEST_METHOD  GET  
SERVER_NAME  www.xxxxxxxxxxx.xxx
SERVER_PORT  80  
SERVER_PROTOCOL  HTTP/1.1  
SERVER_SOFTWARE  Microsoft-IIS/6.0  
APPL_MD_PATH  /LM/W3SVC/1496338123/Root  
APPL_PHYSICAL_PATH  E:\www\xxxxxxxxxxxxxxx\  
INSTANCE_ID  1496338123  
INSTANCE_META_PATH  /LM/W3SVC/1496338123  
URL  /top/test.php  
ALL_HTTP  HTTP_CONNECTION:Keep-Alive HTTP_ACCEPT:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_ACCEPT_LANGUAGE:cs HTTP_HOST:www.xxxxxxxxxxxx.xxx
HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)  
HTTPS  off  
SCRIPT_NAME  /top/test.php  
SERVER_PORT_SECURE  0  


java
Directive Local Value Master Value
java.class.path no value no value
java.home no value no value
java.library jvm.dll jvm.dll
java.library.path no value no value


json
json support  enabled  
json version  1.2.1  


libxml
libXML support  active  
libXML Version  2.6.26  
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 no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value


mhash
MHASH support  Enabled  
MHASH API Version  20020524  


mime_magic
mime_magic support  

Directive Local Value Master Value
mime_magic.debug Off Off
mime_magic.magicfile C:\php5\magic.mime C:\php5\magic.mime


ming
Ming SWF output library  enabled  
Version  0.3beta1  


msql
MSQL Support  enabled  
Allow Persistent Links  yes  
Persistent Links  0/unlimited  
Total Links  0/unlimited  


mssql
MSSQL Support enabled
Active Persistent Links  0  
Active Links  0  
Library version  7.0  

Directive Local Value Master Value
mssql.allow_persistent On On
mssql.batchsize 0 0
mssql.compatability_mode Off Off
mssql.connect_timeout 5 5
mssql.datetimeconvert On On
mssql.max_links Unlimited Unlimited
mssql.max_persistent Unlimited Unlimited
mssql.max_procs Unlimited Unlimited
mssql.min_error_severity 10 10
mssql.min_message_severity 10 10
mssql.secure_connection Off Off
mssql.textlimit Server default Server default
mssql.textsize Server default Server default
mssql.timeout 60 60


mysql
MySQL Support enabled
Active Persistent Links  0  
Active Links  0  
Client API version  5.0.22  

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


mysqli
MysqlI Support enabled
Client API library version  5.0.22  
Client API header version  5.0.22  
MYSQLI_SOCKET  /tmp/mysql.sock  

Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off


odbc
ODBC Support enabled
Active Persistent Links  0  
Active Links  0  
ODBC library  Win32  

Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited


operator
operator overloading support + - * / % << >> . | & ^ ~ ! ++ -- += -= *= /= %= <<= >>= .= |= &= ^= ~= === !== == != < <=  


pcre
PCRE (Perl Compatible Regular Expressions) Support  enabled  
PCRE Library Version  6.7 04-Jul-2006  


pdf
PDF Support  enabled  
PDFlib GmbH Version  5.0.3  
PECL Version  2.1.0  
Revision  $Revision: 1.150 $  


pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version  8.1.4  
Multibyte character support  disabled  
SSL support  disabled  
Active Persistent Links  0  
Active Links  0  

Directive Local Value Master Value
pgsql.allow_persistent On On
pgsql.auto_reset_persistent Off Off
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited


Reflection
Reflection enabled
Version  $Id: php_reflection.c,v 1.164.2.33.2.31 2006/10/18 16:35:15 johannes 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 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 c:\php\sessions c:\php\sessions
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.15 $  
Schema support  enabled  


snmp
UCD-SNMP Support  enabled  
UCD-SNMP Version  ucd-snmp-4.2.3  


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  
Internal Sendmail Support for Windows  enabled  

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=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry
user_agent no value no value


tidy
Tidy support enabled
libTidy Release  1st July 2004  
Extension Version  2.0 ($Id: tidy.c,v 1.66.2.8.2.15 2006/10/02 07:58:13 bjori Exp $)  

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


tokenizer
Tokenizer Support  enabled  


wddx
WDDX Support enabled
WDDX Session Serializer  enabled  


xml
XML Support  active  
XML Namespace Support  active  
libxml2 Version  2.6.26  


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.17  
libxslt compiled against libxml Version  2.6.26  
EXSLT  enabled  
libexslt Version  0.8.13  


zip
Zip  enabled  
Extension Version  $Id: php_zip.c,v 1.1.2.15 2006/09/24 22:27:57 pajoye 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
dbase
filepro


Environment
Variable Value
ALLUSERSPROFILE  C:\Documents and Settings\All Users  
ClusterLog  C:\WINDOWS\Cluster\cluster.log  
CommonProgramFiles  C:\Program Files\Common Files  
COMPUTERNAME  xxxxxxxxxxxxxxxxx  
ComSpec  C:\WINDOWS\system32\cmd.exe  
EXCHICONS  C:\Program Files\Exchsrvr\bin\maildsmx.dll  
FP_NO_HOST_CHECK  NO  
JAVAHOME  C:\Java\jdk1.5.0_09  
NUMBER_OF_PROCESSORS  2  
OS  Windows_NT  
Path  C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\php;C:\Java\jdk1.5.0_09\bin  
PATHEXT  .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH  
PROCESSOR_ARCHITECTURE  x86  
PROCESSOR_IDENTIFIER  x86 Family 15 Model 4 Stepping 3, GenuineIntel  
PROCESSOR_LEVEL  15  
PROCESSOR_REVISION  0403  
ProgramFiles  C:\Program Files  
SystemDrive  C:  
SystemRoot  C:\WINDOWS  
TEMP  C:\WINDOWS\TEMP  
TMP  C:\WINDOWS\TEMP  
USERPROFILE  C:\Documents and Settings\Default User  
windir  C:\WINDOWS  


PHP Variables
Variable Value
_SERVER["ALL_HTTP"] HTTP_CONNECTION:Keep-Alive HTTP_ACCEPT:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_ACCEPT_LANGUAGE:cs HTTP_HOST:www.xxxxxxxxxxxxxx.xxx HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)  
_SERVER["HTTPS"] off
_SERVER["SCRIPT_NAME"] /top/test.php
_SERVER["HTTP_COOKIE"] no value
_SERVER["AUTH_PASSWORD"] no value
_SERVER["AUTH_TYPE"] no value
_SERVER["AUTH_USER"] no value
_SERVER["CONTENT_LENGTH"] 0
_SERVER["CONTENT_TYPE"] no value
_SERVER["PATH_TRANSLATED"] E:\www\xxxxxxxxxxxxxxx
_SERVER["QUERY_STRING"] no value
_SERVER["REMOTE_ADDR"] xx.xx.xx.xx
_SERVER["REMOTE_HOST"] xx.xx.xx.xx
_SERVER["REMOTE_USER"] no value
_SERVER["REQUEST_METHOD"] GET
_SERVER["SERVER_NAME"] www.xxxxxxxxxxxx.xxx
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["SERVER_SOFTWARE"] Microsoft-IIS/6.0
_SERVER["APPL_MD_PATH"] /LM/W3SVC/1496338123/Root
_SERVER["APPL_PHYSICAL_PATH"] E:\www\xxxxxxxxxxxxxxxxx\
_SERVER["INSTANCE_ID"] 1496338123
_SERVER["INSTANCE_META_PATH"] /LM/W3SVC/1496338123
_SERVER["LOGON_USER"] no value
_SERVER["REQUEST_URI"] /top/test.php
_SERVER["URL"] /top/test.php
_SERVER["SCRIPT_FILENAME"] E:\www\xxxxxxxxxxxxxx\top\test.php
_SERVER["ORIG_PATH_INFO"] /top/test.php
_SERVER["PATH_INFO"] no value
_SERVER["ORIG_PATH_TRANSLATED"] E:\www\xxxxxxxxxxxxxx\top\test.php
_SERVER["DOCUMENT_ROOT"] E:\www\xxxxxxxxxxxxxxxx
_SERVER["PHP_SELF"] /top/test.php
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] cs
_SERVER["HTTP_HOST"] www.xxxxxxxxxxxxx.xxx
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
_SERVER["REQUEST_TIME"] 1164535799
0
 
LVL 20

Accepted Solution

by:
Muhammad Wasif earned 500 total points
Comment Utility
Its really hard for me to compare the output:( The only difference i can see is PHP version difference, Linux has 5.1.6 and MS server has 5.2.

Did you try the other solution i have told you in the other thread (die(...))?
0

Featured Post

Easy Project Management (No User Manual Required)

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now