Re: New to PHP and struggling with the basics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Col.

Since you're new to php, then an easy way to install apache, is using
XAMPP ( http://www.apachefriends.org/en/xampp.html )

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)

Steve


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" <kranthi117@xxxxxxxxx> wrote in message 
> news:AANLkTin2xnthqM-Pp7qwtGO=SQtKcttHtWz+08BbWCyF@xxxxxxxxxxxxxxxxx
> > 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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux