where is php-cgi.exe?
am 23.07.2010 03:43:39 von StephenRichter
I want to run php on windows7 within IIS. This MSFT document
http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php -applications-on-iis-7/
has a step for adding module mapping to IIS for PHP. It says the
executable should be "php-cgi.exe". I downloaded and installed the
php windows binary ( x86, VC9 ) from the php site. The installer
loaded php in \program files\php. But there is no php-cgi.exe on my
system. Should it be there? If not, how do I config IIS7 for PHP
otherwise? ( one mistake I know I made is to download the threadsafe
version. The windows config doc says the non threadsafe version runs
faster. )
thanks,
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: where is php-cgi.exe?
am 23.07.2010 04:02:48 von madavapeddi suman
--0022152d60f97fbc4b048c046e93
Content-Type: text/plain; charset=ISO-8859-1
Hi Steve,
You should find it easily in the directory extracted from 5.3.3 Binary of
NTS and TS .Only NTS(VC6 and VC9) is much compatible with IIS as windows is
based on multi Threaded Architecture .This Link would be really helpful
http://www.iis-aid.com/articles/my_word/difference_between_p hp_thread_safe_and_non_thread_safe_binaries
VC9 Binaries requires VC++8.0 library exclusively.
Thanks,
Suman.
On Thu, Jul 22, 2010 at 9:43 PM, Steve Richter wrote:
> I want to run php on windows7 within IIS. This MSFT document
>
> http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php -applications-on-iis-7/
> has a step for adding module mapping to IIS for PHP. It says the
> executable should be "php-cgi.exe". I downloaded and installed the
> php windows binary ( x86, VC9 ) from the php site. The installer
> loaded php in \program files\php. But there is no php-cgi.exe on my
> system. Should it be there? If not, how do I config IIS7 for PHP
> otherwise? ( one mistake I know I made is to download the threadsafe
> version. The windows config doc says the non threadsafe version runs
> faster. )
>
> thanks,
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--0022152d60f97fbc4b048c046e93--
RE: where is php-cgi.exe?
am 23.07.2010 04:10:22 von Venkat Raman Don
You can just use Microsoft Web Platform Installer and it will configure eve=
rything for you. Steps listed at http://blogs.iis.net/donraman/archive/2009=
/10/07/installing-php-on-windows.aspx.
Thanks,
Don.
-----Original Message-----
From: Steve Richter [mailto:stephenrichter@gmail.com]=20
Sent: Thursday, July 22, 2010 6:44 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] where is php-cgi.exe?
I want to run php on windows7 within IIS. This MSFT document http://learn.=
iis.net/page.aspx/246/using-fastcgi-to-host-php-applications -on-iis-7/
has a step for adding module mapping to IIS for PHP. It says the executable=
should be "php-cgi.exe". I downloaded and installed the php windows binar=
y ( x86, VC9 ) from the php site. The installer loaded php in \program file=
s\php. But there is no php-cgi.exe on my system. Should it be there? If n=
ot, how do I config IIS7 for PHP otherwise? ( one mistake I know I made is=
to download the threadsafe version. The windows config doc says the non th=
readsafe version runs faster. )
thanks,
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http:=
//www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: where is php-cgi.exe?
am 23.07.2010 11:09:05 von Pierre Joye
On Fri, Jul 23, 2010 at 3:43 AM, Steve Richter w=
rote:
> I want to run php on windows7 within IIS. =A0This MSFT document
> http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php -applications=
-on-iis-7/
> has a step for adding module mapping to IIS for PHP. It says the
> executable should be "php-cgi.exe". =A0I downloaded and installed the
> php windows binary ( x86, VC9 ) from the php site. The installer
> loaded php in \program files\php. =A0But there is no php-cgi.exe on my
> system. =A0Should it be there? If not, how do I config IIS7 for PHP
> otherwise? =A0( one mistake I know I made is to download the threadsafe
> version. The windows config doc says the non threadsafe version runs
> faster. )
It runs better more than faster. It is also totally useless to have a
thread safe php with php-cgi (given the way fastcgi works). You need
to fetch the VC9 builds for better support (and more extensions
available).
You can use the MSI to install it if you already have IIS installed.
Very easy. If you have nothing on your machine, the webpi may be an
easier solution http://www.microsoft.com/web/
Cheers,
--=20
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php