php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24513 phpinfo in plain text
Submitted: 2003-07-06 08:54 UTC Modified: 2003-07-07 06:12 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: darkadn at hotmail dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.2 OS: win32 (winXP SP2)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: darkadn at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-07-06 08:54 UTC] darkadn at hotmail dot com
Description:
------------
on apache2

the phpinfo(); 
function return phpinfos in text mode without html tags.
I have tested with php.ini-recommended and it does not work.
php is installed as module.
I joined the result of phpinfo(); function.
please note that there are \n and no <br> tag ( it is plain text of course...)

Reproduce code:
---------------
<?
phpinfo();
?>

Expected result:
----------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html><head>
<title>phpinfo()</title></head>
...

Actual result:
--------------
phpinfo()
PHP Version => 4.3.2

System => Windows NT ADN 5.1 build 2600
Build Date => May 28 2003 15:06:05
Server API => Apache 2.0 Filter
Virtual Directory Support => enabled
Configuration File (php.ini) Path => C:\WINDOWS\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  
...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-06 09:03 UTC] darkadn at hotmail dot com
please note that i have tested with html_errors and without
 [2003-07-06 11:09 UTC] nicos@php.net
4 boxes, Linux, Windows XP, Windows 2000, FreeBSD with apache2 and 4.3.2

Cannot reproduce it.

phpinfo_htmlhead is printed nicely.
 [2003-07-06 12:16 UTC] chuayw2000 at hotmail dot com
Maybe you can try other Servers. I think that the sapi module for apache 2 is only experimental. And also, Microsoft has not released SP2 for Windows XP.
 [2003-07-07 06:12 UTC] sniper@php.net
Can not reproduce, bogus.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 12 07:01:29 2024 UTC