ID: 24925 User updated by: kevin6421 at hotmail dot com Reported By: kevin6421 at hotmail dot com -Status: Bogus +Status: Open Bug Type: Unknown/Other Function Operating System: Windows XP with Service Pack 1 PHP Version: 4.3.3RC2 New Comment:
a Previous Comments: ------------------------------------------------------------------------ [2003-08-10 16:43:23] 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-03 15:48:50] [EMAIL PROTECTED] 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-03 15:46:02] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24925&edit=1