1. Se presupone que IIS 6 está instalado y funcionando.
2. Descargar el instalador de fastcgi de http://www.iis.net/extensions/FastCGI o del sitio que más guste (hay muchas fuentes con diferentes implementaciones). Hay que tener cuidado con descargar la versión correcta: para 32 bits o para 64. Instalarlo.
3. Descargar el instalador de PHP de http://www.php.net. Ejecutarlo. Cuando pregunte cómo se desea instalar, elegir el funcionamiento a través de FastCGI. Seleccionar las extensiones que se desee instalar y terminar el proceso de instalación.
4. Una vez instalado, pinchar en Administrador IIS -> Web Sites -> [botón derecho] -> Properties -> Home Directory -> Configuration -> Add
5. En la pantalla que aparece, poner la ruta hacia la dll de fastcgi, que por defecto se habrá instalado en c:/windows/system32/inetsrv/fcgiext.dll. En extensión añade «php» y asegúrate de que está tildada la opción «Script engine». Guardar.
6. Configura manualmente el fichero c:/windows/system32/inetsrv/fcgiext.ini (si fastcgi se instaló en otra carpeta, el .ini también se encontrará ahí). Deben añadirse las secciones [TYPES] y [PHP5] así:
[Types]
php=PHP5
[PHP5]
ExePath=[rutahacia]php-cgi.exe
7. Listo tus scripts PHP son accesibles desde cualquier dominio configurado en el IIS o que configures posteriormente. Si sólo deseas hacerlo sobre un website en particular, realiza el paso 4 sólo sobre el website en el que desees activar la ejecución de scripts PHP.
Excelente tutorial, fue el único que me sirvió después de intentar muchas alternativas.
Lo que si es que debes aclarar (que por alguna razón no aparecen las barras invertidas) en el paso 5, la ruta es:
c/:windows/system32/inetsrv/fcgiext.dll
Y en el paso 6, la ruta sería
c/:windows/system32/inetsrv/fcgiext.ini
Hola hend217, gracias por el apunte; artículo corregido. Tampoco sé por qué al guardarlo la primera vez no funcionó bien. Me alegro de que la información te sirviera de ayuda. Un saludo, y suerte!
Hola que tal, seguí los pasos y pues al perecer funciono porque si muestra la pagina de inicio (presentacion) de mi sitio pero cuando ya entra realmente al sitio ya no muestra nada, alguna idea de porque?
De antemano gracias