php-windows Digest 4 Nov 2006 18:35:53 -0000 Issue 3068
Topics (messages 27265 through 27270):
PHP 5 / IIS 7 / Vista
27265 by: Dale Attree
27266 by: Frank M. Kromann
27267 by: Frank M. Kromann
27268 by: Dale Attree
27270 by: Frank M. Kromann
Stability of PHP 5.2.0 on w2k3
27269 by: Bowden, Zeb
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Anybody got PHP 5 running with IIS 7 on Windows Vista?
If so, do you have a walk-through on how to do it or give me directions on
how to do it?
Kind Regards,
Dale
--- End Message ---
--- Begin Message ---
Works almost like PHP5 on XP or Windows 2003 with IIS5/6
1) Copy php to a directory (c:\php5)
2) Start the IIS manager and create a site or virtual directory
3) Add a script mapping for .php to point to php-cgi.exe or php5isapi.dll
That's it.
- Frank
> Anybody got PHP 5 running with IIS 7 on Windows Vista?
>
>
>
> If so, do you have a walk-through on how to do it or give me directions
on
> how to do it?
>
>
>
> Kind Regards,
>
> Dale
>
>
--- End Message ---
--- Begin Message ---
And this can also be done by creating a file caled web.config in the
directory where you want php support. The vile should look like this:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="PHP" path="*.php" verb="*" modules="CgiModule"
scriptProcessor="c:\php5\php-cgi.exe" resourceType="File" />
</handlers>
<defaultDocument>
<files>
<clear />
<add value="index.html" />
<add value="index.php" />
</files>
</defaultDocument>
</system.webServer>
</configuration>
- Frank
> Works almost like PHP5 on XP or Windows 2003 with IIS5/6
>
> 1) Copy php to a directory (c:\php5)
> 2) Start the IIS manager and create a site or virtual directory
> 3) Add a script mapping for .php to point to php-cgi.exe or
php5isapi.dll
>
> That's it.
>
> - Frank
>
> > Anybody got PHP 5 running with IIS 7 on Windows Vista?
> >
> >
> >
> > If so, do you have a walk-through on how to do it or give me
directions
> on
> > how to do it?
> >
> >
> >
> > Kind Regards,
> >
> > Dale
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Thanks for the quick response, but when I try to add a script map and point
it to either php.exe or php5isapi.dll, it throws an alert saying "The
executable specified for the script map should be either a CGI(.exe) or
ISAPI extension(.dll)." and won't allow me to create the script map.
Any ideas?
I need to be able to run PHP as an ISAPI module and not CGI.
Thanks again.
Dale
-----Original Message-----
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
Sent: 03 November 2006 11:02 AM
To: Dale Attree
Cc: [email protected]
Subject: Re: [PHP-WIN] PHP 5 / IIS 7 / Vista
Works almost like PHP5 on XP or Windows 2003 with IIS5/6
1) Copy php to a directory (c:\php5)
2) Start the IIS manager and create a site or virtual directory
3) Add a script mapping for .php to point to php-cgi.exe or php5isapi.dll
That's it.
- Frank
> Anybody got PHP 5 running with IIS 7 on Windows Vista?
>
>
>
> If so, do you have a walk-through on how to do it or give me
> directions
on
> how to do it?
>
>
>
> Kind Regards,
>
> Dale
>
>
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
You need to point to php-cgi.exe. php.exe is the CLI version of PHP.
Not sure why you can't add php5isapi.dll. That works fine on my system.
- Frank
> Thanks for the quick response, but when I try to add a script map and
point
> it to either php.exe or php5isapi.dll, it throws an alert saying "The
> executable specified for the script map should be either a CGI(.exe) or
> ISAPI extension(.dll)." and won't allow me to create the script map.
>
> Any ideas?
>
> I need to be able to run PHP as an ISAPI module and not CGI.
>
> Thanks again.
> Dale
>
> -----Original Message-----
> From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
> Sent: 03 November 2006 11:02 AM
> To: Dale Attree
> Cc: [email protected]
> Subject: Re: [PHP-WIN] PHP 5 / IIS 7 / Vista
>
> Works almost like PHP5 on XP or Windows 2003 with IIS5/6
>
> 1) Copy php to a directory (c:\php5)
> 2) Start the IIS manager and create a site or virtual directory
> 3) Add a script mapping for .php to point to php-cgi.exe or
php5isapi.dll
>
> That's it.
>
> - Frank
>
> > Anybody got PHP 5 running with IIS 7 on Windows Vista?
> >
> >
> >
> > If so, do you have a walk-through on how to do it or give me
> > directions
> on
> > how to do it?
> >
> >
> >
> > Kind Regards,
> >
> > Dale
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
> http://www.php.net/unsub.php
>
>
>
--- End Message ---
--- Begin Message ---
Anyone else tried this out? It seems much more stable than 5.1.3+
(i.e. no more things like this: http://bugs.php.net/bug.php?id=38744 or
http://bugs.php.net/bug.php?id=37483.)
Zeb Bowden
VT.SETI.IAD.MIG:Systems Architect
http://vtmig.w2k.vt.edu
[EMAIL PROTECTED]
--- End Message ---