PHP + IIS не работает, как настроить
Web-узел находится на IIS (W2k AS) необходимо, чтобы работали скрипты на PHP, Perl.
Скачал установил интерпретатор Perl из командной строки скрипты выполняются, а если делать ссылку на скрипт с Web-узла ни чегошеньки не работает, т.е. IE пишет Узел найден, ожидается ответ и по истечению n количества минуток, обусловленного в настройках сервера "Время ожидания сеанса" IE говорит: Истек период ожидания CGI/Истек допустимый период ожидания для выполнения указанного приложения CGI. Процесс удален сервером.
Как все это работает, а то я в который раз убеждаюсь, что все, что связано с UNIX такой бедлам!!!
http://www.microsoft.com/iis/
Microsoft IIS 5.0 is not automatically installed on all Windows 2000 systems. Check your Windows 2000 documentation on how to install IIS 5.0.
To configure IIS or PWS 4.0 to run Perl scripts:
Open the Internet Service Manager. This will bring up the Microsoft Management Console with the Internet Service Manager snap-in already selected.
From the tree display on the left, select the level at which to apply the mappings. You can choose an entire server, web site, or a given virtual directory.
Select Properties from the Action menu.
If you chose to administer the properties for the entire server, the Server Properties dialog will appear. Select WWW Service from the Master Properties pull-down menu and click the Edit button under Master Properties. This opens WWW Service Master Properties. Select the Home Directory tab and proceed to step 7.
If you chose to administer the properties for an entire web site, the Web Site Properties sheet appears. Select the Home Directory tab and proceed to step 7.
If you chose to administer the properties for a virtual directory, the Virtual Directory Properties sheet appears. Select the Virtual Directory tab and proceed to step 7.
Click the Configuration button. This opens the Application Configuration dialog.
Select the App Mappings tab and click the Add button. You see the Add/Edit Application Extension Mapping dialog.
To run Perl as a CGI application, type the full path to Perl.exe followed by %s %s. When a script is executed, the first %s will be replaced by the full path to the script, and the second %s will be replaced by the script parameters.
To run Perl for ISAPI, type the full path to PerlIS.dll. The %s %s is not required for ISAPI DLLs.
In the Extension field, type .pl or .plx (or whatever extension you want to use).
The application mapping is now complete. Click the OK button and click OK to dismiss any remaining dialogs/property sheets.
Close the IIS Internet Service Manager.
ЗЫ. А как называются пользователи с непараллельными руками??? ;)+
Microsoft IIS 4.0 ships with Windows NT Server 5.0, and PWS 4.0 ships with Windows NT Workstation 5.0. Both IIS and PWS are available as part of the Microsoft Windows NT 4.0 Option Pack. You can find a link to the Option Pack at
Microsoft IIS 5.0 is not automatically installed on all Windows 2000 systems. Check your Windows 2000 documentation on how to install IIS 5.0.
To configure IIS or PWS 4.0 to run Perl scripts:
Open the Internet Service Manager. This will bring up the Microsoft Management Console with the Internet Service Manager snap-in already selected.
From the tree display on the left, select the level at which to apply the mappings. You can choose an entire server, web site, or a given virtual directory.
Select Properties from the Action menu.
If you chose to administer the properties for the entire server, the Server Properties dialog will appear. Select WWW Service from the Master Properties pull-down menu and click the Edit button under Master Properties. This opens WWW Service Master Properties. Select the Home Directory tab and proceed to step 7.
If you chose to administer the properties for an entire web site, the Web Site Properties sheet appears. Select the Home Directory tab and proceed to step 7.
If you chose to administer the properties for a virtual directory, the Virtual Directory Properties sheet appears. Select the Virtual Directory tab and proceed to step 7.
Click the Configuration button. This opens the Application Configuration dialog.
Select the App Mappings tab and click the Add button. You see the Add/Edit Application Extension Mapping dialog.
To run Perl as a CGI application, type the full path to Perl.exe followed by %s %s. When a script is executed, the first %s will be replaced by the full path to the script, and the second %s will be replaced by the script parameters.
To run Perl for ISAPI, type the full path to PerlIS.dll. The %s %s is not required for ISAPI DLLs.
In the Extension field, type .pl or .plx (or whatever extension you want to use).
The application mapping is now complete. Click the OK button and click OK to dismiss any remaining dialogs/property sheets.
Close the IIS Internet Service Manager.
ЗЫ. А как называются пользователи с непараллельными руками??? ;)+
Цитата:
Originally posted by ReDrum
Насчет параллельности не знаю точно, но вопрос чисто для Вас. PHP в связке с IIS перестал после переустановки последнего передавать массив POST, при этом GET работает. Подскажете в чем трудность?