From: kevin6421 at hotmail dot com
Operating system: Windows XP with Service Pack 1
PHP version: 4.3.3RC2
PHP Bug Type: Unknown/Other Function
Bug description: Page is empty
Description:
------------
The PHP pages are always empty. I am running PHP 4 and Apache 2.
Here are some settings in my php.ini, which I have put in C:\Windows:
doc_root = ".;c:\Apache Group\Apache2\htdocs"
extension_dir = ".;c:\php\extensions"
Here are some settings in my httpd.conf:
AddType application/x-httpd-php .php .phtml .html
AddType application/x-httpd-php-source .phps
Here is the list of modules I compiled PHP with:
mod_access.so
mod_actions.so
mod_alias.so
mod_asis.so
mod_auth.so
mod_autoindex.so
mod_cgi.so
mod_dir.so
mod_env.so
php4apache2.dll
mod_imap.so
mod_include.so
mod_isapi.so
mod_log_config.so
mod_mime.so
mod_negotiation.so
mod_setenvif.so
mod_userdir.so
Thank you very much,
Kevin
Reproduce code:
---------------
<html>
<head>
<title>Listing 3.2 A PHP script </title>
</head>
<body>
<b>
<?php
print("hello world");
?>
</b>
</body>
</html>
Expected result:
----------------
"Listing 3.2 A PHP script" is the title.
"hello world" will be displayed on the page.
Actual result:
--------------
"Listing 3.2 A PHP script" is the title.
"hello world" is not displayed on the page.
--
Edit bug report at http://bugs.php.net/?id=24925&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24925&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24925&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24925&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24925&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24925&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24925&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24925&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24925&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24925&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24925&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24925&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24925&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24925&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24925&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24925&r=gnused