Hi Hai, Make sure you make the correct entries in httpd.conf. You might be able to uncomment the following lines from httpd.conf: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps
Just search for those lines in httpd.conf. If they exist, remove the '#' at the beginning of the line. If those lines don't exist, add them. Save httpd.conf, then restart apache. It should work then. Good luck, Tyler Longren ----- Original Message ----- From: "Hai Nguyen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 29, 2001 6:35 PM Subject: [PHP] help php > I just installed PHP 4.0.6 and Apache using RPM from RedHat 7.2. > > Right now I am not getting any output from the browser at all. > > This is my test file: hello.php > <html><head><title>PHP Test</title></head> > <body> > <?php print("Hello World!\n"); ?> > </body></html> > > Can anyone tell me why I am not getting this output at all. Or explain > to me what I am missing. > I looked at the http.conf and the php.ini files but I didn't change > anything at all. > > Thanks for you help. > > Hai. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]