Re: IIS6 & php5 on SBS 2003

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


Date: Wed, 9 Mar 2005 19:50:03 -0800

PHP5 works on IIS6, which is what SBS2003 runs on.

It would be nice to know what instructions you are following (i.e. URL).

Reason I ask is because I wouldn't trust any random set of instructions from
the Internet; the same goes for any random set of binaries from the
Internet.

At the very basic level, configuring PHP on IIS6 is exactly the same as any
other IIS versions, except one additional configuration of adding Web
Service Extension --
1. set up a ScriptMapping to the ScriptEngine to tell IIS how to execute
pages
2. enable Scripts/Executables on the vdir to tell IIS you want to allow
ScriptEngine functionality
3. give read access to the remote authenticated account that runs the page
so resource/access is all ok
4. set up Web Service Extension to tell IIS to allow the ScriptEngine to
run.

If you do not do #1, you get a 200 response but it is the raw script
content, unexecuted. Fail #2, and you get 403.1. Fail #3, and you get 401.3.
Fail #4, and you get 404.2

Also, you are running on IIS, so use the ISAPI version.

-- 
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"news.microsoft.com" <tsa68@[removethisfirst]verizon.net> wrote in message
news:ei1p8FMJFHA.1096@tk2msftngp13.phx.gbl...
This is a long shot....
I am trying to install php5 on SBS 2003 and coordinate
it with IIS. I follow all the instructions for making adjustments
to IIS and having no luck making php run.
Anyone else had this problem?
Second question, when adding an app server to IIS, do I
want isapi or cgi? (probably a dumb question)


Relevant Pages

  • Re: Trend Management Console
    ... I have Les' instructions. ... > Les Connor's Trend CSM for SMB installation instructions ... >> Management Console (via IIS) and tried to install the Scan Mail products. ...
    (microsoft.public.windows.server.sbs)
  • Re: Outlook WebAccess (Exchange 2003) with SSL on IIS 6 (Windows 2003)
    ... Instructions are probably at www.microsoft.com/technet/security. ... IIS probably *should* be listening on port 80, ... and IIS can't very well redirect users to the real ...
    (microsoft.public.inetserver.iis.security)
  • Re: Integrated security
    ... The instructions for IIS 6 and 5 are vastly different. ... Tools -> IIS Manager, you can simply create a new application pool, ... > How do I create trusted security between my web server and my sql server? ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Front Page Links to databases.
    ... Is there a place in the on-line instructions. ... Frontpage can create forms that saves directly to a database. ... the Web Server is IIS it can be an Access database. ...
    (microsoft.public.frontpage.client)