|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-08-03 15:48 UTC] iliaa@php.net
[2003-08-10 16:43 UTC] kevin6421 at hotmail dot com
[2003-08-12 13:22 UTC] sniper@php.net
[2003-08-13 15:37 UTC] kevin6421 at hotmail dot com
[2003-08-13 17:30 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 21:00:01 2025 UTC |
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.