Re: help php

From: Date: Fri, 30 Nov 2001 04:24:29 +0000
Subject: Re: help php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76137@lists.php.net to get a copy of this message
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" <hnguyen007@home.com> To: <php-general@lists.php.net> 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#76137) next »