Re: installing php on apache

From: Date: Sat, 17 Nov 2001 16:11:08 +0000
Subject: Re: installing php on apache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74982@lists.php.net to get a copy of this message
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 <doug@clevermonkeys.co.uk> wrote in message news:3BF66712.550483DC@clevermonkeys.co.uk... > 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 >

« previous php.general (#74982) next »