There are a number of things that could be wrong.  It is difficult to tell
without knowing any details.  I am drawn to the fact that you are just
assuming the web root.  I don't know if you installed from RPMs or source,
but if var/www/html is not set as Apache's document root when you point
Konqueror at that file it is not using Apache to render it, it is just
treating it as a text file to view.  Check Apache's httpd.conf file to see
what the document root is set to and either change it to var/www/html or
move your file to the directory that it is set to.

Fred


Douglas McKenzie <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I'm a newbie to php having been working with coldfusion for years.
>
> Recently decided to test it out and have configured a box with Red Hat
> Linux 7.1, kde, apache and mysql. These all seem to be running fine but
> I can't seem to get a php page to translate.
>
> Im assuming that the web root is var/www/html and I've placed a file
> called index.php under that with a simple <php? echo ?> call. However it
> just displays the full file rather than translating the call. What am I
> doing wrong?
>
> All help appreciated.
>
> TIA
>
> Doug
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to