php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24925 Page is empty
Submitted: 2003-08-03 15:46 UTC Modified: 2003-08-13 17:30 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: kevin6421 at hotmail dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.2 OS: Windows XP with Service Pack 1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kevin6421 at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-08-03 15:46 UTC] kevin6421 at hotmail dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-03 15:48 UTC] iliaa@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

You didn't tell Apache2 to load php4 module.
 [2003-08-10 16:43 UTC] kevin6421 at hotmail dot com
I have already told Apache2 to load php4 module using this statement in httpd.conf: LoadModule php4_module "c:/php/sapi/php4apache2.dll"
However, the php code still does not work.
 [2003-08-12 13:22 UTC] sniper@php.net
You're doing something wrong, propably mixing old dlls with new ones / vice versa, or missing some dll somewhere. Definately not bug in PHP.

User error -> Bogus.

 [2003-08-13 15:37 UTC] kevin6421 at hotmail dot com
I checked, and all the dlls are from the same version.  The php code still does not run.  I am using Apache 2.0.47 and PHP 4.3.2.
 [2003-08-13 17:30 UTC] sniper@php.net
Works fine here on my Windows XP laptop, with latest stable snapshot. (and 4.3.2 too)
You're doing something wrong, and this is not a support forum for configuration problems. See http://www.php.net/support.php for more appropriate places.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 17:01:30 2024 UTC