Problem installing PHP 4 with Apache



I can't get it working together ,i've read all e-books and instructions and
it's giving me a headache....

I am using Apache 2.0.48 and PHP 4.3.11

When I try
<? phpinfo(); ?>

it's all working but when i try simple php scripts with one input text box
:
text.html
<HTML>
<HEAD></HEAD>
<BODY>
<FORM METHOD=GET ACTION="text.php">
Who is your favourite author?
<INPUT NAME="Author" TYPE="TEXT">
<BR>
<BR>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>

text.php
<HTML>
<HEAD></HEAD>
<BODY>
<FORM METHOD=GET ACTION="text.php">
Who is your favourite author?
<INPUT NAME="Author" TYPE="TEXT">
<BR>
<BR>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>


it isn't working...

I know you all had similar problems ,please could someone tell me how to
get this working....



.



Relevant Pages

  • Re: PHP5 IIS Setup
    ... If there were any html tags, ... Incidentally I'm using Apache 2, ... You haven't added a type association so Apache knows to use PHP to process ... it not processing PHP files. ...
    (alt.php)
  • Re: Content negotiation in Apache
    ... >Someone already mentioned the rewriting rules which will work for you. ... Sorry I hadn't posted anything in awhile, but Apache and I move ... The other is that I'm learning PHP and did not originally have the ... and got 600 visitors this December, and the page ends in ".html" and now ...
    (RedHat)
  • Re: PHP-Yes, HTML-No --- Why?
    ... Surely a dynamic web server should appear exactly the same as a static one - all files that contain HTML when viewed should be called ... If you know how, say, the PHP apache module works, you'll see that the hit is ... Apache was designed to do just this. ...
    (comp.lang.php)
  • Re: Convert from .html to .php - What are SEO implications of file name changes?
    ... you can leave all your pages as .html and any embedded PHP ... I think we are using Apache, so I'll try your suggestion if we are. ... And while we are on the subject of Apache, .htaccess, etc, are there ...
    (alt.internet.search-engines)
  • Re: php in ".html" documents
    ... On my computer apache will see php in .php documents but not in .html ... Can I configure apache to see php in .html documents? ...
    (comp.lang.php)