#41771 [Bgs]: phpinfo () by itself does not work right on a ISAPI installation.
| From: | webmaster at studio505 dot net | Date: | Thu, 21 Jun 2007 22:13:08 +0000 |
| Subject: | #41771 [Bgs]: phpinfo () by itself does not work right on a ISAPI installation. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114053@lists.php.net to get a copy of this message | ||
ID: 41771
User updated by: webmaster at studio505 dot net
Reported By: webmaster at studio505 dot net
Status: Bogus
Bug Type: IIS related
Operating System: Windows Server 2003
PHP Version: 5.2.3
New Comment:
short_open_Tags is not anywhere in the php.ini i just looked
everywhere.
The fact that even if it is disabled
WHY is it working on http://area51solutions.com/test3.php
AND why is not even in my php.ini if its so vital to making text show
up.
im telling you dude you got a bug with your stuff.
Previous Comments:
------------------------------------------------------------------------
[2007-06-21 22:09:11] webmaster at studio505 dot net
ive proved this is a bug
look
http://area51solutions.com/test3.php Works
perfectly with a HTML header
to help Jump start the text to show.
http://area51solutions.com/test.php that just has
a phpinfo () in it
does not!
how are you going to sit here and tell me its not a bug when i sat here
for hours poring over every setting and prove that it works with a html
header in it to help jump start the text to show.
i know you guys dont care much about windows server 2003, but come on
man look at those links. one works and one doesnt.
its a problem man.
------------------------------------------------------------------------
[2007-06-21 22:03:08] johannes@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Try using the \"show source\" feature of your browser - looks like you
have short_open_Tags disabled in your php.ini
------------------------------------------------------------------------
[2007-06-21 21:56:31] webmaster at studio505 dot net
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 this bug report at http://bugs.php.net/?id=41771&edit=1