Re: IIS + PHP...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 03/16/05


Date: Wed, 16 Mar 2005 09:41:39 -0800

Based on your description, IIS can certainly do those things. It may not be
called the same as Apache nor have similar configuration, but the concepts
are the same.

IIS has a concept of configurable custom errors, where you define the URL
(code that gets executed) or static HTML file that gets run by IIS when an
error code (HTTP status codes 4xx-5xx) happens. You can define such a thing
for the 404 custom error so that IIS runs a certain file on a 404.

I am confused by what you are trying to do with the rest of your
description -- can you please describe what you are trying to accomplish:

> if i give the file an extention... .php it runs, but as soon as i
> got further into the file.. for example
>
> directory.php/iis_help/iis_help.html
>
> its complains, No input file specified.

I have no idea what you are trying to do here. Are you trying to have PHP
mapped to all extension-less files such that it executes with a path info of
/iis_help/iis_help.html ? I'm not certain what you are trying to accomplish,
but if anything fails at this point, it is a PHP/configuration problem.

Bottom line: I'm pretty certain that Apache concepts used by PHP exists in
IIS. It just may not have the same syntax or semantic, which is perfectly
ok -- two different software products usually have different ways of looking
at the same problem, so it is expected that configuration/syntax to be
different. So, it is probably better to describe the concept that needs to
happen (instead of searching for corresponding syntax)

-- 
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Rob" <rob@tbswebdesign.com> wrote in message
news:eLeJSNkKFHA.3916@TK2MSFTNGP14.phx.gbl...
basically the script i am trying to use requires that it have no
extension...
its a php file called 'directory'
i need a way to my IIS to execute that file with php, at the moment it
says 404
in Apache you can force the default application type using htaccess.
if i give the file an extention... .php it runs, but as soon as i got
further into the file.. for example
directory.php/iis_help/iis_help.html
its complains, No input file specified.
David Wang [Msft] wrote:
> Can you clarify what you are trying to do?
>
> I have no idea what you mean by "Force Application Type".
>
> Creating virtual HTML pages on the fly works perfectly well on IIS
>


Relevant Pages

  • Re: Apache vs IIS
    ... Windows Server not on my Linux Server so there for I would chose IIS. ... Not that Apache is bad but ASP.NET is far easier and faster to create good web forms in. ... PHP on a IIS server is rather easy to run once you install PHP on a PC but if you only use PHP why not use Apache for Windows. ...
    (alt.php)
  • Re: Apache vs IIS
    ... my Windows Server not on my Linux Server so there for I would ... IIS is designed for ASP, ... can run asp on Apache, ... in running php from IIS vs Apache. ...
    (alt.php)
  • Re: PHP + IIS + Visual Studio.NET 2005 and Apache
    ... The apache version that comes with VS.Php however will shut itself down ... Apache or IIS. ... to use the DBG module installed inside PHP inside the version of Apache ... bundled with VS.php in case you do not have any other web server installed. ...
    (alt.php)
  • Re: Apache vs IIS
    ... my Windows Server not on my Linux Server so there for I would chose IIS. ... Not that Apache is bad but ASP.NET is far easier and faster to create good web forms in. ... IIS is designed for ASP, ... PHP on a IIS server is rather easy to run once you install PHP on a PC but if you only use PHP why not use Apache for Windows. ...
    (alt.php)
  • RE: Apache Concurrent Users
    ... standing up an Apache and IIS 6.0 and looking at the configuration. ... an unlimited number of concurrent connections. ...
    (Pen-Test)