Apache does not know to have PHP parse .php files....read install.txt for directions on setting up apache--you will need to make some modifications to your httpd.conf.
> -----Original Message----- > From: John Lazos [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 04, 2002 1:18 AM > To: [EMAIL PROTECTED] > Subject: [PHP-INST] Help!!! > > > Hi, I installed apache with support of php as i found om the online > manual at php.net. > I created a simple php file named hello.php > > <html> > <head> > <title>PHP Test Page</title> > </head> > <body> > <?php echo "Hello <p>"; ?> > </body> > </html> > > > > and i the file in my htdocs directory i restarted apache and when i'm > trying to access the page http://localhost/hello.php as a result i'm > getting the contents of the file hello.,php > which are: > <html> > <head> > <title>PHP Test Page</title> > </head> > <body> > <?php echo "Hello <p>"; ?> > </body> > </html> > > > What is wrong is my apache able to display php pages? > > Thanx for your time! > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php