Since you're new to php, then an easy way to install apache, is using

I would suggest you remove the apache you have installed, and the php
you installed, and install the XAMPP package as it comes prebuilt with
mysql, ftp, apache and php, and it is simple to use/work with.

And if you install to defaults there, you will put your web files into
C:\xampp\htdocs\ and everythign should just work.

The way i read your initial post, is that you installed just apache, and
just php... if you did this, then you may not have integrated php into
apache properly, so then your php pages will not work.

just my $0.02 here, cuz if it doesn't work after you install XAMPP, then
there is something else wrong.

And the other thing, is that you're running on vista, and vista doesn't
like things running on localhost (or at least it didn't used to)


On Mon, 2010-10-04 at 13:51 +0100, Col Day wrote:
> Hi Kranthi,
> No, I just literally get the "HTML" line shown but absolutely nothing 
> beneath it.
> "kranthi" <> wrote in message 
> > they should be something like error_log-[date] not sure about windows 
> > though
> >
> >>>However I have found that if I paste the html into my web page created by 
> >>>Serif WebPlus 10 I get the "html" line but not the "php" line.
> >
> > are you saying that you are getting the php code in your browser ?
> > <?php
> > echo "<p>This is a PHP line</p>";
> > phpinfo();
> > ?> 

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to