[PHP-WIN] phpinfo() acting strange

2006-01-04 Thread olivier . maurice

Hi,


I just finished an  Apache 2.0.55, MySQL 4.1.16 and PHP 5.1.1 on a Windows XP 
SP 1 machine.
Diving into the first documentation on PHP one the first examples is the use of 
the phpinfo() method.

So I create index.php with the following content and put it in the htdocs 
directory.



This works, most of the time. When going to the page (Firefox in my case), most 
of the time only a part of the page is shown, different each time. I can't find 
anything unusual in the apache logs.

Anyone an idea?


Regards,

Olivier

RE: [PHP-WIN] Re: phpinfo() acting strange

2006-02-23 Thread Olivier Maurice
Cristian,


> Are you really sure that this is a PHP problem or is your browser 
> rendering issue ? Have you used the view-source feature to 
> see that the 
> phpinfo() HTML is not there ?

Positively. For the record, web development is part of my day to day
job. As I do not have an IBM iSeries at home, I had to look for
alternatives to do what I want to do... :-) PHP approached the best of
what I am used to working with every day.

Below is the content of one of the results. I can send you tons of
different examples. Everytime I hit refresh the result differs. From
time to time, once out of ten times, the page is ok.


Olivier

---



body {background-color: #ff; color: #00;}
body, td, th, h1, h2 {font-family: sans-serif;}
pre {margin: 0px; font-family: monospace;}
a:link {color: #99; text-decoration: none; background-color:
#ff;}
a:hover {text-decoration: underline;}
table {border-collapse: collapse;}
.center {text-align: center;}
.center table { margin-left: auto; margin-right: auto; text-align:
left;}
.center th { text-align: center !important; }
td, th { border: 1px solid #00; font-size: 75%; vertical-align:
baseline;}
h1 {font-size: 150%;}
h2 {font-size: 125%;}
.p {text-align: left;}
.e {background-color: #ff; font-weight: bold; color: #00;}
.h {background-color: #cc; font-weight: bold; color: #00;}
.v {background-color: #cc; color: #00;}
.vr {background-color: #cc; text-align: right; color: #00;}
img {float: right; border: 0px;}
hr {width: 600px; background-color: #cc; border: 0px; height: 1px;
color: #00;}

phpinfo()



http://www.php.net/";>PHP Version 5.1.1



System Windows NT BEER 5.1 build
2600 

Build Date Nov 27 2005 21:34:13

Configure Command cscript /nologo
configure.js  "--enable-snapshot-build"
"--with-gd=shared" 
Server API Apache 2.0 Handler

Virtual Directory Support enabled

Configuration File (php.ini) Path G:\Documents\olivier\Projects\php\php.ini 

PHP API 20041225 
PHP Extension 20050922 
Zend Extension 220051025 
Debug Build no 
Thread Safety enabled 
Zend Memory Manager enabled


IPv6 Support enabled 
Registered PHP Streams php, file,
http, ftp, compress.zlib   
Registered Stream Socket Transports tcp, udp 
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower,
string.strip_tags, convert.*, zlib.* 



http://www.zend.com/";>
This program makes use of the Zend Scripting Language Engine:Zend Engine v2.1.0, Copyright (c) 1998-2005&n
bsp;Zend Technologies



PHP
Credits

Configuration
PHP Core

DirectiveLocal ValueMaster
Value
allow_call_time_pass_referenceOnOn

allow_url_fopenOnOn
always_populate_raw_post_dataOffOff
arg_separator.input&&
arg_separator.output&&
asp_tagsOffOff
auto_append_fileno
valueno value

auto_globals_jitOnOn
auto_prepend_fileno
valueno value
browscapno valueno value
default_charsetno
valueno value
default_mimetypetext/htmltext/html

define_syslog_variablesOffOff
disable_classesno
valueno value
disable_functionsno
valueno value
display_errorsOnOn
display_startup_errorsOffOff

doc_rootno valueno value
docref_extno valueno value
docref_rootno valueno value
enable_dlOnOn
error_append_stringno
valueno value

error_logno valueno value
error_prepend_stringno
valueno value
error_reporting20392039
expose_phpOnOn
extension_dir././

file_uploadsOnOn
highlight.bg#FF#FF
highlight.comment#FF8000#FF8000
highlight.default#BB#BB
highlight.html#00#00

highlight.keyword#007700#007700
highlight.string#DD#DD
html_errorsOnOn
ignore_repeated_errorsOffOff
ignore_repeated_sourceOffOff

ignore_user_abortOffOff
implicit_flushOffOff
include_path.;C:\php5\pear.;C:\php5\pear
log_errorsOffOff
log_errors_max_len10241024

magic_quotes_gpcOnOn
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
mail.force_extra_parametersno
valueno value
max_execution_time3030

max_input_time6060
open_basedirno valueno value
output_bufferingno
valueno value
output_handlerno
valueno value
post_max_size8M8M

precision1212
realpath_cache_size16K16K
realpath_cache_ttl120120
register_argc_argvOnOn
register_globalsOffOff

register_long_arraysOnOn
report_memleaksOnOn
report_zend_debugOnOn
safe_modeOffOff
safe_mode_exec_dirno
valueno value

safe_mode_gidOffOff
safe_mode_include_dirno
valueno value
sendmail_fromno
valueno value
sendmail_pathno
valueno value
serialize_precision100100

short_open_tagOnOn
SMTPlocalhostlocalhost
smtp_port2525
sql.safe_modeOffOff
track_errorsOffOff

unserialize_callback_funcno
valueno value
upload_max_filesize2M2M
upload_tmp_dirno
valueno value
user_dirno valueno value
variables_orderEGPCSEGPCS

xmlrpc_error_number00
xmlrpc_errorsOffOff
y2k_complianceOnOn
zend.ze1_compatibility_modeOffOff


apache2handler

Apache Version Apache/2.0.55
(Win32) PHP/5.1.1 
Apache API Version 20020903

Server Administrator [EMAIL PROTECTED] 
Hostname:Port beer.appje.net:0

Max Requests Per Child: 0 - Keep
Alive: on - Max Per Connection: 100 

Timeouts Connection: 300 -
Keep-A