Re: [PHP-INSTALL] New to PHP

[email protected] (Ferenc Kovacs)
Newsgroups php.install
Message-ID <[email protected]>
On Mon, Oct 4, 2010 at 8:25 AM, Col Day <[email protected]> wrote:

> Hi all,
>
> Working with the PHP5 for Dummies book (yup real noob, feel free to
> ridicule
> (after telling me what I've done wrong)) and have installed Apache 2.2 and
> PHP 5.3.3 onto a laptop running Vista. (yes I know!!!).
>
> I've had Apache running fine with my basic web site created using Serif's
> Webplus10 but wanted to experiment with PHP as I want an uploadable area on
> my website for my friends and family to submit video/photos.
>
> I've checked the install of PHP using php -v and I get the output that
>
> PHP 5.3.3 (cli) (built: Jul 21 2010 20:10:20)
>
> but when I try and go to the test.php file (below) I get an http 403
> webiste
> requires you to log in. Error message.
>
> <html>
> <head>
> <title>PHP Test</title>
> </head>
> <body>
> <p>This is an HTML line
> <?php
> echo "<p>This is a PHP line</p>";
> phpinfo();
> ?>
> </body>
> </html>
>
> This is the text of the test.php file which I have plonked down in
> /apache/htdocs
>
> What have I missed?
>
> the Dummies book is quoting PHP 5.0.0 as the latest release so not too far
> away really.
>
> Thanks for your help.
>
> Cheers.
>
> Col Day
>
>
>
check out:
http://hu.php.net/manual/en/install.windows.installer.msi.php
and
http://hu.php.net/manual/en/install.windows.manual.php

my guess is, that you didn't added the required parts to your apache
configuration (LoadModule, AddType, DirectoryIndex)

Tyrael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.