By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,713 Members | 1,466 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,713 IT Pros & Developers. It's quick & easy.

How do I know PHP runs?

P: n/a
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

Jul 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
"Deon H" <de********@pess.co.za> wrote in message
news:Xn********************************@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/2000...php_admin.html
Jul 17 '05 #2

P: n/a

"Deon H" <de********@pess.co.za> wrote in message
news:Xn********************************@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

Jul 17 '05 #3

P: n/a
"Tony Marston" <to**@NOSPAM.demon.co.uk> wrote in news:cjgk5u$a45$1
$8*******@news.demon.co.uk:

"Deon H" <de********@pess.co.za> wrote in message
news:Xn********************************@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,
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

Jul 17 '05 #4

P: n/a
Thanx CJ,
I did as this page says, and still get the same error message.

Any idea what I might be doing wrong?

Deon

Jul 17 '05 #5

P: n/a
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 | je**********@jhu.edu
Website | http://www.newtnotes.com

Drop "PANTS" to reply by email

Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.