AddType application/x-httpd-php .php
# add any other file extension you require to be parsed by the php
is needed in your httpd.conf.
Make sure you restart the Apache once you're done with the changes.
On Tue, 2004-02-24 at 15:20, Praveen Kumar wrote:
gilbert raja wrote:--
i'm using red hat linux 8.0 and using php 4 but my browser does not
parse the linux code.only html code will be displayed or a full program
will be displayed. how do i configure php on my web server.
You should have PHP module loaded in apache. In you httpd.conf make sure
that you have the line
uncommented. If not, uncomment it and restart Apache.