473,396 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How do I know PHP runs?

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
5 1733
"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

"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
"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: CoralineSage | last post by:
Hi there, I know very little about PHP, but I was just curious to know why exactly would some PHP code run fine from the command line but not from the browser? I'm just curious. I was working...
4
by: Jacek Dziedzic | last post by:
Hi! First of all, I hope my problem is not too loosely tied to the "standard C++" that is the topic of this group. I have some code that exhibits a strange behaviour: on one computer, where I...
0
by: Roger | last post by:
I've got this small vba code Public Sub sendmail() Dim osession As Object Set osession = CreateObject("MAPI.Session") osession.logon "npescan", "", False, True, 0, False ... read stuff......
2
by: ThurstonHowl | last post by:
Hello, my task is the following: Input are tables with fields containing strings where the strings are actually delimited lists. For example, one field could contain 'AB|CD|EF|GH' I've...
4
by: Alan Silver | last post by:
Hello, According to MS's web site, VS 2005 will be coming out "in the first half of 2005", which isn't very helpful. That could be anytime between tomorrow and the end of June. I am interested...
15
by: Pucca | last post by:
I'm getting an error when I tried to use this BerConverter class in my C# code. Even though the Interent doc says that it runs on Win2000 sp4, I just thgouth I'll double check. Does anyone know...
6
by: sethukr | last post by:
Hi everybody, While i'm compiling the following program in GCC, it gives "segmentation fault" But GDB doesn't give any "segmentation fault" What's the reason for this?? #include<stdio.h>...
0
by: juhisingh | last post by:
Hi All, I'm creating a windows service thats runs for every one hour. I want to use a variable in that service whose value increments for every one hour the service runs. Say first time when...
3
by: GG | last post by:
Is there a way to know when the garbage collection runs? We would like to see how an app performs and when various gc levels kick in. Thanks *** Sent via Developersdex...
11
by: Gord | last post by:
When I open a certain report, it runs some code that generates the records that will be displayed in that report. This works fine. When I go to print preview the report it appears that the code...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.