For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > September 2004 > How do I know PHP runs?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How do I know PHP runs?
Deon H

2004-09-30, 2:55 am

Hi there,

I have downloaded the whole php zip file and extracted it at c:\php

I know I have to do some alterations, with the most impoartant being to
add php to the windows path. The install.txt file that comes with php,
says I must make PHP part of the path.

I could not find this in the text file. (So I need your help on this,
please.)

I think php isn't running on my PC because I get this error when trying
to browse a *.php file:

The Page cannot be found

HTTP 400 - Bad Request
Internet Information Services


Thanx again for your prompt help and patience.

Regards,

Deon

CJ Llewellyn

2004-09-30, 11:24 am

"Deon H" <deonNOSPAM@pess.co.za> wrote in message
news:Xns95745597070E6deonNOSPAMpesscoza@
196.25.240.158...
> Hi there,
>
> I have downloaded the whole php zip file and extracted it at c:\php
>
> I know I have to do some alterations, with the most impoartant being to
> add php to the windows path. The install.txt file that comes with php,
> says I must make PHP part of the path.
>
> I could not find this in the text file. (So I need your help on this,
> please.)


http://www.onlamp.com/pub/a/php/200.../php_admin.html


Tony Marston

2004-09-30, 11:24 am


"Deon H" <deonNOSPAM@pess.co.za> wrote in message
news:Xns95745597070E6deonNOSPAMpesscoza@
196.25.240.158...
> Hi there,
>
> I have downloaded the whole php zip file and extracted it at c:\php
>
> I know I have to do some alterations, with the most impoartant being to
> add php to the windows path. The install.txt file that comes with php,
> says I must make PHP part of the path.


It must be defined in the Windows path which is part of the environment
variables.

> I could not find this in the text file. (So I need your help on this,
> please.)
>
> I think php isn't running on my PC because I get this error when trying
> to browse a *.php file:
>
> The Page cannot be found
>
> HTTP 400 - Bad Request
> Internet Information Services


Are you trying to run your PHP scripts in CLI mode or web server mode?

--
Tony Marston

http://www.tonymarston.net



>
> Thanx again for your prompt help and patience.
>
> Regards,
>
> Deon
>



Deon H

2004-09-30, 11:24 am

"Tony Marston" <tony@NOSPAM.demon.co.uk> wrote in news:cjgk5u$a45$1
$8300dec7@news.demon.co.uk:

>
> "Deon H" <deonNOSPAM@pess.co.za> wrote in message
> news:Xns95745597070E6deonNOSPAMpesscoza@
196.25.240.158...
to[color=darkred]
php,[color=darkred]
>
> It must be defined in the Windows path which is part of the

environment
> variables.
>
trying[color=darkred]
>
> Are you trying to run your PHP scripts in CLI mode or web server mode?
>


Tony,
you ask if I want to run PHP scripts in CLI mode or web server mode.

I really do not have any idea. All I want to do is to test my mySQL db
on PHP I cannot do cgi scripting or any of those stuff.

Any suggestions?

Deon

Deon H

2004-09-30, 11:24 am

Thanx CJ,
I did as this page says, and still get the same error message.

Any idea what I might be doing wrong?

Deon

Jeffrey Silverman

2004-09-30, 11:24 am

On Thu, 30 Sep 2004 11:15:00 +0000, Deon H wrote:

> Thanx CJ,
> I did as this page says, and still get the same error message.
>
> Any idea what I might be doing wrong?
>
> Deon


Do any web pages work when you browse to them?
For example, does browsing to the URL http://localhost/default.htm
work?

What is the path (what directory) where the website files and folders
reside? Is this path properly set up in IIS?

It just sounds like you have a misconfigured web server but you are not
giving nearly enough information for anyone to really be able to help you.

later...


--
Jeffrey D. Silverman | jeffreyPANTS@jhu.edu
Website | http://www.newtnotes.com

Drop "PANTS" to reply by email

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com