• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4251
  • Last Modified:

PHP doesn't obey it's settings - displaying errors

Just upgraded my xampp installation to 1.7.0. (Installed with installer)
http://www.apachefriends.org/en/xampp-windows.html#641

Now my php app (local installation)  shows some friggin warnings even though display_errors is disabled in php.ini.

(and some other trouble too)

Wtf doesen't php care for that display_errors is off?

Attaching php -i...


phpinfo()
PHP Version => 5.2.8
 
System => Windows NT BRUNTE 6.0 build 6001
Build Date => Dec  8 2008 19:30:48
Configure Command => cscript /nologo configure.js  "--enable-snapshot-build" "--enable-debug-pack" "--with-snapshot-template=d:\php-sdk\snap_5_2\vc6\x86\template" "--with-php-build=d:\php-sdk\snap_5_2\vc6\x86\php_build" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared"
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => C:\Windows
Loaded Configuration File => C:\xampp\php\php.ini
Scan this dir for additional .ini files => (none)
additional .ini files parsed => (none)
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, zip  
Registered Stream Socket Transports => tcp, udp
Registered Stream Filters => convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*
 
 
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by 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 => C:\xampp\php\browscap\browscap.ini => C:\xampp\php\browscap\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 => 1 => 1
expose_php => On => On
extension_dir => C:\xampp\php\ext\ => C:\xampp\php\ext\
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 => .;C:\xampp\php\pear\ => .;C:\xampp\php\pear\
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 => 32M => 32M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 64M => 64M
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 => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => no value => no value
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 => 64M => 64M
upload_tmp_dir => C:\xampp\tmp => C:\xampp\tmp
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
 
bcmath
 
BCMath support => enabled
 
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
 
ctype
 
ctype functions => enabled
 
date
 
date/time support => enabled
"Olson" Timezone Database Version => 2008.9
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
 
dom
 
DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.6.32
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled
 
exif
 
EXIF Support => enabled
EXIF Version => 1.4 $Id: exif.c,v 1.173.2.5.2.26 2008/08/03 12:11:13 jani Exp $
Supported EXIF Version => 0220
Supported filetypes => JPEG,TIFF
 
filter
 
Input Validation and Filtering => enabled
Revision => $Revision: 1.52.2.44 $
 
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.34 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 => 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 => "libiconv"
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
 
json
 
json support => enabled
json version => 1.2.1
 
libxml
 
libXML support => active
libXML Version => 2.6.32
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
 
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
 
mime_magic
 
mime_magic support => invalid magic file, disabled
 
Directive => Local Value => Master Value
mime_magic.debug => Off => Off
mime_magic.magicfile => C:\xampp\php\extras\magic.mime => C:\xampp\php\extras\magic.mime
 
ming
 
Ming SWF output library => enabled
Version => 0.3beta1
 
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.1.30
 
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.1.30
Client API header version => 5.1.30
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_cursortype => Static cursor => Static cursor
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
 
paradox
 
Paradox support => enabled
pxlib Version => 0.6.3
support for recoding record data => iconv
pxlib was build on =>  
Revision => $Revision: 1.37 $
 
pcre
 
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 7.8 2008-09-05
 
Directive => Local Value => Master Value
pcre.backtrack_limit => 100000 => 100000
pcre.recursion_limit => 100000 => 100000
 
pdf
 
PDF Support => enabled
PDFlib GmbH Version => 5.0.3
PECL Version => 2.1.4
Revision => $Revision: 1.155 $
 
PDO
 
PDO support => enabled
PDO drivers => mssql, mysql, sqlite2
 
pdo_mssql
 
PDO Driver for MSSQL DB-lib => enabled
Flavour => MSSQL_70
 
pdo_mysql
 
PDO Driver for MySQL, client library version => 5.1.30
 
pgsql
 
PostgreSQL Support => enabled
PostgreSQL(libpq) Version => 8.3.1
Multibyte character support => enabled
SSL support => enabled
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
 
ps
 
PS Support => enabled
PSlib Version => 0.4.0
Revision => $Revision: 1.35 $
 
Reflection
 
Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33.2.54 2008/10/29 13:34:08 felipe 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_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 => C:\xampp\tmp => C:\xampp\tmp
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => Off => Off
session.use_trans_sid => 0 => 0
 
SimpleXML
 
Simplexml support => enabled
Revision => $Revision: 1.151.2.22.2.45 $
Schema support => enabled
 
soap
 
Soap Client => enabled
Soap Server => enabled
 
Directive => Local Value => Master Value
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => C:\xampp\tmp => C:\xampp\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, RecursiveRegexIterator, RegexIterator, 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.2.11 2008/12/01 12:28:27 felipe Exp $
SQLite Library => 2.8.17
SQLite Encoding => iso8859
 
Directive => Local Value => Master Value
sqlite.assoc_case => 0 => 0
 
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=,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.32
 
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.23
libxslt compiled against libxml Version => 2.6.32
EXSLT => enabled
libexslt Version => 0.8.13
 
Zend Optimizer
 
Optimization Pass 1 => enabled
Optimization Pass 2 => enabled
Optimization Pass 3 => enabled
Optimization Pass 4 => enabled
Optimization Pass 9 => disabled
Zend Loader => disabled
License Path =>  
Obfuscation level => 0
 
zip
 
Zip => enabled
Extension Version => $Id: php_zip.c,v 1.1.2.46 2008/11/12 17:50:37 felipe Exp $
Zip version => 1.8.11
Libzip version => 0.9.0
 
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
 
Environment
 
Variable => Value
ALLUSERSPROFILE => C:\ProgramData
APPDATA => C:\Users\David\AppData\Roaming
CLIENTNAME => STUDIO
CommonProgramFiles => C:\Program Files\Common Files
COMPUTERNAME => BRUNTE
ComSpec => C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK => NO
HOMEDRIVE => C:
HOMEPATH => \Users\David
LOCALAPPDATA => C:\Users\David\AppData\Local
LOGONSERVER => \\BRUNTE
NUMBER_OF_PROCESSORS => 2
OS => Windows_NT
Path => C:\Program Files\ActiveState Komodo Edit 5\;C:\Windows\Intellution;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\MySQL\MySQL Server 5.0\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\GE Fanuc\Proficy iFIX
PATHEXT => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE => x86
PROCESSOR_IDENTIFIER => x86 Family 6 Model 14 Stepping 12, GenuineIntel
PROCESSOR_LEVEL => 6
PROCESSOR_REVISION => 0e0c
ProgramData => C:\ProgramData
ProgramFiles => C:\Program Files
PROMPT => $P$G
PUBLIC => C:\Users\Public
RoxioCentral => C:\Program Files\Common Files\Roxio Shared\9.0\Roxio Central33\
SESSIONNAME => RDP-Tcp#0
SystemDrive => C:
SystemRoot => C:\Windows
TEMP => C:\Users\David\AppData\Local\Temp
TMP => C:\Users\David\AppData\Local\Temp
USERDOMAIN => Brunte
USERNAME => David
USERPROFILE => C:\Users\David
windir => C:\Windows
 
PHP Variables
 
Variable => Value
_SERVER["ALLUSERSPROFILE"] => C:\ProgramData
_SERVER["APPDATA"] => C:\Users\David\AppData\Roaming
_SERVER["CLIENTNAME"] => STUDIO
_SERVER["CommonProgramFiles"] => C:\Program Files\Common Files
_SERVER["COMPUTERNAME"] => BRUNTE
_SERVER["ComSpec"] => C:\Windows\system32\cmd.exe
_SERVER["FP_NO_HOST_CHECK"] => NO
_SERVER["HOMEDRIVE"] => C:
_SERVER["HOMEPATH"] => \Users\David
_SERVER["LOCALAPPDATA"] => C:\Users\David\AppData\Local
_SERVER["LOGONSERVER"] => \\BRUNTE
_SERVER["NUMBER_OF_PROCESSORS"] => 2
_SERVER["OS"] => Windows_NT
_SERVER["Path"] => C:\Program Files\ActiveState Komodo Edit 5\;C:\Windows\Intellution;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\MySQL\MySQL Server 5.0\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\GE Fanuc\Proficy iFIX
_SERVER["PATHEXT"] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
_SERVER["PROCESSOR_ARCHITECTURE"] => x86
_SERVER["PROCESSOR_IDENTIFIER"] => x86 Family 6 Model 14 Stepping 12, GenuineIntel
_SERVER["PROCESSOR_LEVEL"] => 6
_SERVER["PROCESSOR_REVISION"] => 0e0c
_SERVER["ProgramData"] => C:\ProgramData
_SERVER["ProgramFiles"] => C:\Program Files
_SERVER["PROMPT"] => $P$G
_SERVER["PUBLIC"] => C:\Users\Public
_SERVER["RoxioCentral"] => C:\Program Files\Common Files\Roxio Shared\9.0\Roxio Central33\
_SERVER["SESSIONNAME"] => RDP-Tcp#0
_SERVER["SystemDrive"] => C:
_SERVER["SystemRoot"] => C:\Windows
_SERVER["TEMP"] => C:\Users\David\AppData\Local\Temp
_SERVER["TMP"] => C:\Users\David\AppData\Local\Temp
_SERVER["USERDOMAIN"] => Brunte
_SERVER["USERNAME"] => David
_SERVER["USERPROFILE"] => C:\Users\David
_SERVER["windir"] => C:\Windows
_SERVER["PHP_SELF"] => 
_SERVER["SCRIPT_NAME"] => 
_SERVER["SCRIPT_FILENAME"] => 
_SERVER["PATH_TRANSLATED"] => 
_SERVER["DOCUMENT_ROOT"] => 
_SERVER["REQUEST_TIME"] => 1235333741
_SERVER["argv"] => Array
(
)
 
_SERVER["argc"] => 0
_ENV["ALLUSERSPROFILE"] => C:\ProgramData
_ENV["APPDATA"] => C:\Users\David\AppData\Roaming
_ENV["CLIENTNAME"] => STUDIO
_ENV["CommonProgramFiles"] => C:\Program Files\Common Files
_ENV["COMPUTERNAME"] => BRUNTE
_ENV["ComSpec"] => C:\Windows\system32\cmd.exe
_ENV["FP_NO_HOST_CHECK"] => NO
_ENV["HOMEDRIVE"] => C:
_ENV["HOMEPATH"] => \Users\David
_ENV["LOCALAPPDATA"] => C:\Users\David\AppData\Local
_ENV["LOGONSERVER"] => \\BRUNTE
_ENV["NUMBER_OF_PROCESSORS"] => 2
_ENV["OS"] => Windows_NT
_ENV["Path"] => C:\Program Files\ActiveState Komodo Edit 5\;C:\Windows\Intellution;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\MySQL\MySQL Server 5.0\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\GE Fanuc\Proficy iFIX
_ENV["PATHEXT"] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
_ENV["PROCESSOR_ARCHITECTURE"] => x86
_ENV["PROCESSOR_IDENTIFIER"] => x86 Family 6 Model 14 Stepping 12, GenuineIntel
_ENV["PROCESSOR_LEVEL"] => 6
_ENV["PROCESSOR_REVISION"] => 0e0c
_ENV["ProgramData"] => C:\ProgramData
_ENV["ProgramFiles"] => C:\Program Files
_ENV["PROMPT"] => $P$G
_ENV["PUBLIC"] => C:\Users\Public
_ENV["RoxioCentral"] => C:\Program Files\Common Files\Roxio Shared\9.0\Roxio Central33\
_ENV["SESSIONNAME"] => RDP-Tcp#0
_ENV["SystemDrive"] => C:
_ENV["SystemRoot"] => C:\Windows
_ENV["TEMP"] => C:\Users\David\AppData\Local\Temp
_ENV["TMP"] => C:\Users\David\AppData\Local\Temp
_ENV["USERDOMAIN"] => Brunte
_ENV["USERNAME"] => David
_ENV["USERPROFILE"] => C:\Users\David
_ENV["windir"] => C:\Windows
 
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.

Open in new window

0
davidsperling
Asked:
davidsperling
  • 10
  • 6
  • 4
  • +1
2 Solutions
 
LordOfPortsCommented:
If you would like to disable error reporting try setting the error_reporting directive to 0, alternatively you can also restrict it at runtime through a call http://us.php.net/error_reporting
0
 
davidsperlingAuthor Commented:
Doesn't work either. Anyway, display_errors=Off means that no error should be sent to output.
0
 
Ionut A. TudorPHP ProgrammerCommented:
Well you can edit your php app not to show warning in case display_errors is off.
If you build a simple file test.php and put only this:
<?php
echo "testing";
?>
does it show any warnings ?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
davidsperlingAuthor Commented:
The point is that php.ini does not seem to work :-)

You don't want no error msgs to show up in production, do you? Even if your app isn't perfect.

0
 
Ray PaseurCommented:
Run phpinfo() and post the output here, please.  thanks, ~Ray
0
 
Ionut A. TudorPHP ProgrammerCommented:
Oops i think i misunderstood your initial question. Your concern is that you have display_errors off in php.ini and PHP is still showing errors/notices/warnings?
Well first thing you need to be sure to modify the right php.ini, i see your ini is loaded in Configuration File (php.ini) Path => C:\Windows Please go to C:\Windows\php.ini modify it and set display_errors off
Second thing you need to restart your web server so that it loads the new php new configuration options.
Hope this helps. Cheers
0
 
Ray PaseurCommented:
@al3cs12: Good advice!  When in doubt, always restart the web server, and tag your php.ini with some specific indicator that enables you to see whether you're picking up the right file.  You might, for example, turn off short_tags just to test.  You will be able to see if that is enabled in teh output from phpinfo();
0
 
davidsperlingAuthor Commented:
Here it comes...seeing trouble already... How to I fix it?
phpinfo.pdf
0
 
davidsperlingAuthor Commented:
Loaded Configuration File:  C:\xampp\apache\bin\php.ini ???

How did it decide to use that one ???

Have tried xampp on many computers and never had any trouble.

To things about this one.
1. It's Vista
2. Before I used xampp, PHP was installed separatley

But...  I've cleaned upp Path and entered "c:\xampp\php"

And... XAMPP 1.6.6 worked. (Remember having similar problem, but then it *was* a faulty entry in Path)

Path=System->Advanced Settings->Environment vars



0
 
davidsperlingAuthor Commented:
Ok, I guess what I'm after is that I want PHP to load
c:\xampp\php\php.ini  (as it should).

But now it loads:
C:\xampp\apache\bin\php.ini

Why?

(and why didn't i use asp.net instead...)



0
 
Ray PaseurCommented:
Uhh, not to put too fine a point on it, but why not just put your preferred php.ini file into:

C:\xampp\apache\bin\php.ini

And take the path of least resistance!
0
 
davidsperlingAuthor Commented:
'Cause I want to know why! 'Cause I can't sleep if I have no control over my php app ;-)

0
 
Ray PaseurCommented:
0
 
davidsperlingAuthor Commented:
Yep, that's why you use XAMPP. Always works, exept for now.
0
 
Ionut A. TudorPHP ProgrammerCommented:
If its why then the answer is simple: because you installed a third party application that installed your php version.
If you want full control then read my solution from here and learn how to install your php manually: http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/PHP_Installation/Q_24163835.html#23698000
Then you'll be able to sleep knowing that you control everything at your php app ! :-)
Good luck
0
 
davidsperlingAuthor Commented:
And the winner is..:
"Run phpinfo() and post the output here, please.  thanks, ~Ray"

-Didn't know you got more info from that than "php -i"!

So if anyone run into this problem...

SOLUTION:
ADD THE ENVIRONMENT VARIABLE "PHPRC"
Name: PHPRC
Value: c:\path\to\my\phpini
envvar.gif
0
 
davidsperlingAuthor Commented:
Did I mention that you also have to reboot?
0
 
Ray PaseurCommented:
Don't know if you're new here, but this is not a "B" solution - it is an "A" solution, and I would be grateful if you would ask a moderator to change the grade.

You can read the grading guidelines here:
http://www.experts-exchange.com/help.jsp#hi403

It costs you no more to give a good grade. ~Ray
0
 
Ionut A. TudorPHP ProgrammerCommented:
I guess my efforts to assist you were not in the right way. As a reference for all others who may want to fix a XAMP or aka application my advice is to install PHP manually so you can be in total control of it, if not you'll arrive at problems like this which aren't your fault just the third-party application that installed it :-)
Anyway @davidsperling, glad you resolved your problem !
Cheers
0
 
Ray PaseurCommented:
@al3cs12: I concur with your idea.  Note that you first mentioned the need to restart the server very early on, and davidsperling echoed that idea in his last post.

@davidsperling: All of which makes me wonder - was there any reason you did not split the points with al3cs12?  It is easy enough to do that, just ask the moderator to help you change the points allocation and grade!  It's very common to share the points to answers when more than on EE member contributes to finding the solutions.  Personally, I have a lot of points and don't mind sharing.  Give it a thought, OK?
0
 
davidsperlingAuthor Commented:
I meant reboot the *computer* after setting environment var PHPRC :-) -Not just apache.

I found out about PHPRC a year ago, and your phpinfo() tip made me remember... A perfect B if you ask me :-)

But if you have a link to where you can ask moderators to change points...
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 10
  • 6
  • 4
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now