I had exactly the same problem recently with my very first Linux/Apache/PHP 
installation.
After several days of fruitless efforts, a kind soul told me I was using the wrong 
file extension (.html).
It must be .php to make Apache send the file through the PHP interperter.
Could that be your problem ??

>
> > Subject: PHP 4.2.2 and Apache 1.3.26 Installation
> > Date: Mon, 22 Jul 2002 22:48:45 -0700
> > From: Christopher Lyon <[EMAIL PROTECTED]>
> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > OS:
> > Red Hat 7.3
> >
> > I am having a bit of a problem getting the two of these things
> > working. I have extracted both PHP and Apache, ran ./configure
> > - -with-mysql -with-apache=/usr/local/apache_1.3.26 from the php
> > directory. Then I ran make and make install. Once that was done I ran
> > the Apache ./configure, make and make install. I went to edit the
> > httpd.conf file and added the application/x-httpd-phpX .phpx stuff.
> > Once I was done with all of that I went to test to see if PHP was
> > working via some test pages and it looks like a no go. I am getting
> > just the raw html php code. Anybody have an idea of what I am missing
> > or what didn't get loaded?


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to