From:             webmaster at studio505 dot net
Operating system: Windows Server 2003 
PHP version:      5.2.3
PHP Bug Type:     IIS related
Bug description:  phpinfo () by itself does not work right on a ISAPI 
installation.

Description:
------------
Visual code error maybe?
I sat here for hours kicking myself wondering what i was doing wrong with
the install. After adding a HTML header to create a default color for text
it seems to pop right. 

I still need a fix. I cant go into hundreds of php pages and a header in
html to every one of em. Please give fix!

Reproduce code:
---------------
<? 
phpinfo(); 
?>
[/code]
Will not display in http://area51solutions.com/test.php 
[code]
<html>
<head>
      <title>PHP Test</title>
      <meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
</head>
<body>
      <h1>PHP Test</h1>
      <p>
      <b>An Example of PHP in Action</b><br />
            <?php echo "The Current Date and Time is: <br>";
                  echo date("g:i A l, F j Y.");?>
      </p>

      <h2>PHP Information</h2>
      <p>
            <?php phpinfo(); ?>
      </p>
</body>
</html>
[/code] 
Works perfectly in http://area51solutions.com/test.php 

Expected result:
----------------
The expected result for phpinfo () 
as seen in http://area51solutions.com/test.php

installed as a ISAPI module in IIS 6.0 is to load a default module for
text correctly. 

No text loads at all. just a blank screen. 

However i can verify my Install is correct in 

 http://area51solutions.com/test3.php with this.

by using this to add a HTML header to help "jump start" the default text.


Proof Install was done correctly perfectly in
http://area51solutions.com/test3.php 
[code]
<html>
<head>
      <title>PHP Test</title>
      <meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
</head>
<body>
      <h1>PHP Test</h1>
      <p>
      <b>An Example of PHP in Action</b><br />
            <?php echo "The Current Date and Time is: <br>";
                  echo date("g:i A l, F j Y.");?>
      </p>

      <h2>PHP Information</h2>
      <p>
            <?php phpinfo(); ?>
      </p>
</body>
</html>
[/code] 

Actual result:
--------------
This is not happening with a perfect install of PHP Version 5.2.3
People tend to give up installing it as a ISAPI module and let the default
OODB version work by removing or commenting out the php.ini, or by revertig
to the CGI version. 

I do not want to do this. 
I know my install is correct and i should be able to load this without
HTML headers creating a default text and reap the benefits of my php.ini
pointing to the custom files i want it to save logs.

Theres something wrong with your Topology of default text loading with
ISAPI modules for IIS 6.0 Installs
 Im assuming its something to do with your g2 module. 

-- 
Edit bug report at http://bugs.php.net/?id=41771&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41771&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41771&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41771&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41771&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41771&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41771&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41771&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41771&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41771&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41771&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41771&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41771&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41771&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41771&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41771&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41771&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41771&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41771&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41771&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41771&r=mysqlcfg

Reply via email to