I have phpinfo setup exactly like "edwardsbc" said.
PHP 4.3.1 installed in c:\php
windows xp pro
PHP.ini = c:\windows\system32 (using PHPRC)
without PHPRC, php will look for php.ini in the c:\windows directory. When it does that, the output for phpinfo() displays properly in the tables and all HTML tags are present, but any modifications to php.ini are not detected. PHP.ini is still in the system32 directory.
When I move php.ini to the c:\windows diretory, the output becomes messed up again. No HTML tags whatsoever in the source.
Source looks like this :
phpinfo()
PHP Version => 4.3.1
System => Windows NT localhost 5.1 build 2600
Build Date => Feb 15 2003 23:02:25
Server API => ISAPI
Virtual Directory Support => enabled
Configuration File (php.ini) Path => c:\windows\system32\php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => enabled
Registered PHP Streams => php, http, ftp, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
Configuration
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
.........