Re: Beginner's Teething Problems
| From: | DL Neil | Date: | Mon, 25 Feb 2002 13:37:27 +0000 |
| Subject: | Re: Beginner's Teething Problems | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12265@lists.php.net to get a copy of this message | ||
Lindsay,
[I have posted this back to the list - there are others here with greater minds than mine!]
> It sounds as if you are opening the .htm[l] or .php file in your browser.
> Remember that PHP requires server-side
> processing, so a page must be called from a web server (which is in turn
> interfacing to PHP). Can you set up
> your own web server, or a virtual server somewhere?
> I have tried that now and they still appear blank even going through the web
> server and pointing my browser to that. The phpinfo.php I have also created
> as I am told this would give config deatils. When I view that I just see the
> code I have put in the file. Could it be that the web server is not php
> enabled?? It is a windows 2000 server box using IIS.
You are correct.
Despite indications to the contrary, it is not difficult to get IIS to serve PHP.
RTFM: Chapter 2. Installation
In particular:
General Installation Considerations
Installation on Windows systems
Servers-CGI/Commandline
and
Servers-IIS/PWS
Read carefully, keep your wits about you, and take it one step at a time! My advice is to work
through the text
and initially to disregard the user-annotations - there is a lot of confusion between the different
requirements
of various combinations of versions of PHP and versions of IIS (and versions of Windows!).
I have been using Apache on NT, but last weekend sat down to put PHP on a Win2000 box. It was quite
straightforward, and works quite happily.
Regards,
=dn
PS if you really get in a bind, you can call me on my Orange cell phone (London) and I'll sit
in front of my
machine and try to talk you through it.