- -\ No newline at end of file diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/using-php-manager-for-iis-to-setup-and-configure-php.md b/iis/application-frameworks/install-and-configure-php-on-iis/using-php-manager-for-iis-to-setup-and-configure-php.md deleted file mode 100644 index e34217d64..000000000 --- a/iis/application-frameworks/install-and-configure-php-on-iis/using-php-manager-for-iis-to-setup-and-configure-php.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: "Using PHP Manager for IIS to setup and configure PHP" -author: ruslany -description: "From the Downloads page select the installation package that is appropriate for your target machine. Download and run the installer, which will install and r..." -ms.date: 6/1/2020 -ms.assetid: 9e07564f-3c41-4d22-ba76-3daaf0847db9 -msc.legacyurl: /learn/application-frameworks/install-and-configure-php-on-iis/using-php-manager-for-iis-to-setup-and-configure-php -msc.type: authoredcontent ---- - -# Using PHP Manager for IIS to setup and configure PHP - -by [Ruslan Yakushev](https://github.com/ruslany), [Lex Li](https://github.com/lextm) - -PHP Manager is not a Microsoft-owned or supported product. -### Installation - -From the [Downloads](https://github.com/phpmanager/phpmanager/releases) page select the installation package that is appropriate for your target machine. Download and run the installer, which will install and register PHP Manager's binaries with IIS. Note that only IIS versions 7.0 and above are supported. After installation is complete, launch the IIS Manager and find the "PHP Manager" feature: - -[http://www.phpmanager.xyz/latest/_images/phpmanager.png](http://www.phpmanager.xyz/latest/_images/phpmanager.png) - -When opened, the "PHP Manager" feature provides a configuration overview for the PHP installation that is registered with IIS and is currently active. If no PHP is registered with IIS, then the only action that can be performed is the registation of a new PHP version. - -### Registering PHP with IIS - -To register a new PHP version with IIS, first you need to download the zip archive with PHP binaries from [http://windows.php.net/](http://windows.php.net/) and then extract the files from it into a folder of your choice. Note that you can also install PHP by using [Web Platform Installer](https://php.iis.net/) or the Windows installer from [http://windows.php.net/](http://windows.php.net/) - the PHP Manager can be used to manage those PHP installations as well. - -Click on "**Register new PHP version**" task and then provide the full path to the location of the main php executable file: **php-cgi.exe**: - -[http://www.phpmanager.xyz/latest/_images/register.png](http://www.phpmanager.xyz/latest/_images/register.png) - -After clicking OK the new PHP version will be registered with IIS and will become active. This means that all the sites on this IIS server by default will use this PHP version. - -### Validating existing PHP installations and fixing configuration issues - -In order for PHP to run properly on IIS there is a set of recommended settings that need to be configured in IIS and PHP. PHP Manager checks if all of the recommended settings are configured correctly. If some settings are not configured properly then you can use PHP Manager to fix those settings. - -When some configuration settings are configured incorrectly you will see a warning message when you open PHP Manager: - -[http://www.phpmanager.xyz/latest/_images/warning.png](http://www.phpmanager.xyz/latest/_images/warning.png) - -After clicking on "View Recommendations" link you can see all the configuration issues that exist in your PHP installation. You can review each issue description and the recommended corrective action. You can also select which configuration issues you want to be fixed: - -[http://www.phpmanager.xyz/latest/_images/fixed.png](http://www.phpmanager.xyz/latest/_images/fixed.png) - -### Switching between PHP versions - -After multiple PHP versions have been registered with IIS, you can use PHP Manager to easily switch between the versions on a server and site level. This means that you can configure some IIS sites to use one PHP version, while other sites use different version. - -[http://www.phpmanager.xyz/latest/_images/switch.png](http://www.phpmanager.xyz/latest/_images/switch.png) - -### Checking phpinfo() output - -phpinfo() function in PHP provides very detailed information about all aspects of PHP runtime configuration. To check the phpinfo() output from within PHP Manager use the "**Check phpinfo()**" task. - - - -### Configuring Error Reporting - -You can use PHP Manager to configure error reporting level in PHP. If IIS is used on a development machine then you may want to use verbose error reporting in order to see all the errors, warnings and notices from your PHP application right away. If IIS is used as a production server, then error reporting level is less verbose and errors are logged in a log file, but never communicated to HTTP client. - -[http://www.phpmanager.xyz/latest/_images/error.png](http://www.phpmanager.xyz/latest/_images/error.png) - -### Configuring Runtime Limits - -Various timeouts and limits can be configured in the "**PHP Runtime Limits**" page: - -[http://www.phpmanager.xyz/latest/_images/limits.png](http://www.phpmanager.xyz/latest/_images/limits.png) - -### Configuring All PHP Settings - -All existing PHP settings can be added, removed and modified in the "**PHP Settings**" page. - -[http://www.phpmanager.xyz/latest/_images/settings.png](http://www.phpmanager.xyz/latest/_images/settings.png) - -### Enabling or Disabling PHP Extensions - -PHP extensions can be enabled or disabled in the "**PHP Extensions**" page: - -[http://www.phpmanager.xyz/latest/_images/extentions.png](http://www.phpmanager.xyz/latest/_images/extentions.png) \ No newline at end of file diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications.md b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications.md deleted file mode 100644 index 34f7d38e1..000000000 --- a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -title: "Walkthrough - Set Up MySQL 5.1 for PHP applications" -author: ruslany -description: "Overview This article provides a basic step by step guide on how to install and configure MySQL on the Windows Operating System. For more detailed instructio..." -ms.date: 03/18/2009 -ms.assetid: 361e07d9-1737-4f84-890b-406bd8c51506 -msc.legacyurl: /learn/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications -msc.type: authoredcontent ---- -# Walkthrough - Set Up MySQL 5.1 for PHP applications - -by [Ruslan Yakushev](https://github.com/ruslany) - -## Overview - -This article provides a basic step by step guide on how to install and configure MySQL on the Windows Operating System. For more detailed instructions about installing and configuring MySQL on Windows refer to the [official MySQL documentation](http://dev.mysql.com/doc/refman/5.1/en/windows-installation.html). - -## Downloading and Installing MySQL - -The MySQL binaries and installer can be downloaded from the [official MySQL site](http://dev.mysql.com/downloads/mysql/5.1.html). The instructions in this article are based on MySQL version 5.1 Community Edition installed with the Windows MSI installer. - -Run the installer and choose the installation option. For a majority of the cases, the typical installation is sufficient: - -![Screenshot of the My S Q L Setup Wizard screen with the Typical Setup type selected.](walkthrough-set-up-mysql-51-for-php-applications/_static/image2.png) - -However, if you want to control which components get installed or if you want to use a non-default installation path then choose the "Custom" option. - -When the installation is complete, make sure to check the box to "Configure the MySQL Server now". This will launch the "MySQL Server Instance Configuration Wizard" that will guide you through the configuration process for the MySQL instance. - -![Screenshot of the My S Q L Server Setup Wizard on the Wizard Completed page.](walkthrough-set-up-mysql-51-for-php-applications/_static/image4.png) - -## Configuring MySQL instance - -Follow these steps in the "MySQL Server Instance Configuration Wizard" to optimize the MySQL configuration for the kind of tasks you expect it to perform. - -On the first page of the wizard choose "Detailed Configuration": - -![Screenshot of the My S Q L Server Instance Configuration Wizard on the configuration type page. The Detailed Configuration type is selected.](walkthrough-set-up-mysql-51-for-php-applications/_static/image6.png) - -On the next page choose the server type option: - -![Screenshot of the My S Q L Server Instance Configuration Wizard on the server instance page. The Developer Machine option is selected.](walkthrough-set-up-mysql-51-for-php-applications/_static/image8.png) - -Choose the "Database Usage" option: - -![Screenshot of the My S Q L Server Instance Configuation Wizard on the database usage page. Non-Transactional Database Only is selected.](walkthrough-set-up-mysql-51-for-php-applications/_static/image10.png) - -The Database usage options control what kind of database storage engine is used on the server: - -- MyISAM – Optimized for high performance SELECT operations. It has low overhead in terms of memory usage and disk utilization, but at the cost of not supporting transactions -- InnoDB – Provides fully ACID transactional capabilities, but at the cost of more aggressive usage of disk space and memory - -For an in-depth comparison of these database engines, refer to [MySQL Storage Engine Architecture](http://dev.mysql.com/tech-resources/articles/storage-engine/part_1.html). As a general recommendation – if the web applications on your server require multi-statement transactions, advanced isolation levels and row-level locking, foreign key constraints, or otherwise have a requirement for ACID features -- use InnoDB. Otherwise, use MyISAM. - -Next choose the number of concurrent connections to the server: - -![Screenshot of the My S Q L Server Instance Configuration Wizard on the concurrent connections page. Decision Support (D S S)/O L A P is selected. ](walkthrough-set-up-mysql-51-for-php-applications/_static/image12.png) - -On the next page choose networking options : - -![Screenshot of the My S Q L Server Instance Configuration Wizard on the networking options page. Enable T C P/I P Networking and Enable Strict Mode are selected. ](walkthrough-set-up-mysql-51-for-php-applications/_static/image14.png) - -If you have mysql and web server on the same machine you may consider not enabling TCP/IP networking and instead use named pipes. Note though that some PHP applications may require TCP connection to MySQL. Refer to the application's documentation to confirm if it supports named pipes connection to MySQL. - -Choose the default charset to use when creating new databases: - -![Screenshot of the My S Q L Server Instance Configuration Wizard on the default character page. Standard Character Set is selected.](walkthrough-set-up-mysql-51-for-php-applications/_static/image16.png) - -Next ensure that MySQL will be configured as a Windows Service: - -![Screenshot of the My S Q L Server Instance Configuration Wizard on the Windows options page. Install as a Windows Service and Include Bin Directory in Windows Path are selected.](walkthrough-set-up-mysql-51-for-php-applications/_static/image18.png) - -Optionally, you can add the MySQL Bin directory to the Windows PATH environment variable. That will make it easier to launch MySQL tools from the command line. - -Finally provide the password for the database administrative account, which in called "root" in MySQL. Make sure that you leave the "Create an Anonymous Account" checkbox cleared: - -![Screenshot of the My S Q L Server Instance Configuration Wizard on the security options page. Modify Security Settings is selected.](walkthrough-set-up-mysql-51-for-php-applications/_static/image20.png) - -On the next page click "Execute" to apply all the configuration settings and to start the MySQL service: - -![Screenshot of the My S Q L Server Instance Configuration Wizard completion page.](walkthrough-set-up-mysql-51-for-php-applications/_static/image22.png) - -Now you can logon to MySQL by opening a command line window and typing: - -[!code-console[Main](walkthrough-set-up-mysql-51-for-php-applications/samples/sample1.cmd)] - -If MySQL was configured correctly then the MySQL prompt will be shown: - -[!code-console[Main](walkthrough-set-up-mysql-51-for-php-applications/samples/sample2.cmd)] diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image1.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image1.png deleted file mode 100644 index e0870dec3..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image1.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image10.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image10.png deleted file mode 100644 index e0870dec3..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image10.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image11.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image11.png deleted file mode 100644 index e0870dec3..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image11.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image12.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image12.png deleted file mode 100644 index 749788e54..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image12.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image13.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image13.png deleted file mode 100644 index 749788e54..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image13.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image14.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image14.png deleted file mode 100644 index e16a0ebf9..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image14.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image15.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image15.png deleted file mode 100644 index e16a0ebf9..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image15.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image16.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image16.png deleted file mode 100644 index 44b7e336f..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image16.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image17.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image17.png deleted file mode 100644 index 44b7e336f..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image17.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image18.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image18.png deleted file mode 100644 index fc02be1d5..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image18.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image19.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image19.png deleted file mode 100644 index fc02be1d5..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image19.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image2.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image2.png deleted file mode 100644 index 4641d634e..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image2.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image20.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image20.png deleted file mode 100644 index 7a8262ead..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image20.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image21.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image21.png deleted file mode 100644 index 7a8262ead..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image21.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image22.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image22.png deleted file mode 100644 index e9ce96d57..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image22.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image23.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image23.png deleted file mode 100644 index e9ce96d57..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image23.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image3.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image3.png deleted file mode 100644 index 4641d634e..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image3.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image4.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image4.png deleted file mode 100644 index 5d468c738..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image4.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image5.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image5.png deleted file mode 100644 index 5d468c738..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image5.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image6.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image6.png deleted file mode 100644 index 65f0d3acb..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image6.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image7.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image7.png deleted file mode 100644 index 65f0d3acb..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image7.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image8.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image8.png deleted file mode 100644 index 0aada6064..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image8.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image9.png b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image9.png deleted file mode 100644 index 0aada6064..000000000 Binary files a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/_static/image9.png and /dev/null differ diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/samples/sample1.cmd b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/samples/sample1.cmd deleted file mode 100644 index 5b32ed03c..000000000 --- a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/samples/sample1.cmd +++ /dev/null @@ -1,2 +0,0 @@ -mysql -u root -p -Enter password: ****** \ No newline at end of file diff --git a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/samples/sample2.cmd b/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/samples/sample2.cmd deleted file mode 100644 index ce548c8de..000000000 --- a/iis/application-frameworks/install-and-configure-php-on-iis/walkthrough-set-up-mysql-51-for-php-applications/samples/sample2.cmd +++ /dev/null @@ -1,5 +0,0 @@ -Welcome to the MySQL monitor. Commands end with ; or \g. -Your MySQL connection id is 3 -Server Version 5.1.32-community MySQL Community Server (GPL) -Type 'help;' or '\h' for help. Type '\c' to clear the buffer. -mysql> \ No newline at end of file diff --git a/iis/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/scenario-build-a-classic-asp-website-on-iis.md b/iis/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/scenario-build-a-classic-asp-website-on-iis.md index 6b81d1f95..c1eb69226 100644 --- a/iis/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/scenario-build-a-classic-asp-website-on-iis.md +++ b/iis/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/scenario-build-a-classic-asp-website-on-iis.md @@ -26,9 +26,7 @@ To get the most from this tutorial, you must have access to a computer that is r ## Step 1: Install the IIS Web Server -You can use the Web Platform Installer (Web PI) to install IIS, and applications that run on IIS. Because the Web PI installs the latest versions of available Web Platform offerings, with just a few simple clicks you can download and install any new tools or updates. To learn more about the Web PI, see [Learn more and install the Web PI](https://go.microsoft.com/fwlink/?LinkID=145510). - -You can also perform this procedure by using the Windows user interface (UI) or from a command line. +You can perform this procedure by using the Windows user interface (UI) or from a command line. ### To install IIS on Windows Server 2012 by using the UI @@ -463,6 +461,5 @@ Test your website thoroughly to ensure that it functions as expected. Then consi - [Hosting-Friendly Web Server Platform (IIS): Scenario Overview](../../get-started/introduction-to-iis/hosting-friendly-web-server-platform-iis-scenario-overview.md) - [Build a Static Website on IIS](../../manage/creating-websites/scenario-build-a-static-website-on-iis.md) - [Build an ASP.NET Website on IIS](../scenario-build-an-aspnet-website-on-iis/overview-build-an-asp-net-website-on-iis.md) -- [Build a PHP Website on IIS](../scenario-build-a-php-website-on-iis/overview-build-a-php-website-on-iis.md) - [Build an FTP Site on IIS](../../publish/using-the-ftp-service/scenario-build-an-ftp-site-on-iis.md) - [Build a Web Farm with IIS Servers](../../web-hosting/scenario-build-a-web-farm-with-iis-servers/overview-build-a-web-farm-with-iis-servers.md) diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform.md b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform.md deleted file mode 100644 index 6d0b909e8..000000000 --- a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform.md +++ /dev/null @@ -1,289 +0,0 @@ ---- -title: "Best Practices for PHP on the Microsoft Web Platform" -author: rick-anderson -description: "Introduction There are various steps you can take to optimize Windows Server 2008 R2 or Windows Server 2008, IIS 7 and above, and FastCGI performance for you..." -ms.date: 11/15/2009 -ms.assetid: 75b33d8e-3c3e-472e-9973-b41ced1a7ebb -msc.legacyurl: /learn/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform -msc.type: authoredcontent ---- -# Best Practices for PHP on the Microsoft Web Platform - -by Tali Smith - -## Introduction - -There are various steps you can take to optimize Windows Server 2008 R2 or Windows Server 2008, IIS 7 and above, and FastCGI performance for your Web workloads and PHP applications. These procedures can be generally be performed from the UI by running Appcmd.exe commands in a command-line window and editing configuration files directly or by writing Windows® Management Instrumentation (WMI) scripts. - -## Configure PHP Process Recycling Behavior - -Make sure that FastCGI always recycles the php-cgi.exe processes before the native PHP recycling kicks in. The FastCGI process recycling behavior is controlled by the configuration property **instanceMaxRequests**. This property specifies how many requests the FastCGI process will process before recycling. PHP also has a similar process recycling functionality that is controlled by an environment variable **PHP\_FCGI\_MAX\_REQUESTS**. By setting **instanceMaxRequests** to be smaller or equal to **PHP\_FCGI\_MAX\_REQUESTS**, you can ensure that the native PHP process recycling logic will never kick in. - -The FastCGI settings can be configured either by using IIS Manager or by using the command-line tool **AppCmd**. - -### Use IIS Manager - -1. To configure FastCGI recycling settings by using IIS Manager, you need to install Administration Pack for IIS, and then select **FastCGI Settings** at the server level. - - ![Screenshot of the I I S Manager window.](best-practices-for-php-on-the-microsoft-web-platform/_static/image1.jpg) - - *Figure 1 IIS Manager, FastCGI Settings* -2. Next, select the FastCGI application that you want to configure, and then click **Edit** in the **Actions** pane on right-hand side. - - ![Screenshot of the I I S Manager window showing Fast C G I Settings in the main pane.](best-practices-for-php-on-the-microsoft-web-platform/_static/image3.jpg) - - *Figure 2 FastCGI Settings page* -3. In the **Edit FastCGI** **Application** dialog box, set **InstanceMaxRequest** to **10000**, and then click on the **browse** button next to the **EnvironmentVariables** setting. - - ![Screenshot of the Edit Fast C G I Application dialog. Environment variables is highlighted.](best-practices-for-php-on-the-microsoft-web-platform/_static/image5.jpg) - - *Figure 3 Edit FastCGI Application dialog box* -4. Add the **PHP\_FCGI\_MAX\_REQUESTS** environment variable and set its value to **10000**. - - > [!NOTE] - > If you do not configure these settings, then the following default settings are used: **InstanceMaxRequests** of 200, **PHP\_FCGI\_MAX\_REQUESTS** of 500 (on most PHP builds). - - ![Screenshot of the Environment Variables Collection Editor dialog.](best-practices-for-php-on-the-microsoft-web-platform/_static/image7.jpg) - - *Figure 4 Environment Variables Collection Editor* - -### Use the Command Line - -To configure the recycling behavior of FastCGI and PHP via **appcmd**, use the following commands: - -[!code-console[Main](best-practices-for-php-on-the-microsoft-web-platform/samples/sample1.cmd)] - -## Disable Unneeded Services and Processes - -If the server running Windows Server 2008 R2 or Windows Server 2008 will be a dedicated Web server, there are various steps you can take to optimize performance for your Web workloads. Note that these procedures can be performed easily and quickly from the UI or from a command line. - -Make sure any unneeded roles and features in the Windows Server 2008 installation are not installed. Remove processes such as: - -- Microsoft Find Fast and other search indexing services. -- Three-dimensional (3-D) screen savers (which may occupy CPU resources). -- Unused networking protocols. -- Unneeded mail servers. -- Unused antivirus scanners and hardware drivers for mice and infrared ports. - -To use the UI, click **Start**, click **Services**, and then scroll down to the service you want to disable and click **Properties**. Click the arrow under **Startup type**, and then click **Disabled**. - -> [!NOTE] -> Test the Web server for correct operation after you disable each service to make sure that you did not disable a service you want to continue to use. Also, note any services that are dependent on the service you want to stop. - -There is also command-line–based management in Windows Server 2008. Prior versions of Windows provided few if any dependency checks when users had to add/remove server roles or other software. A simple command in Windows Server 2008 can provide server administrators with a listing of the components that will be added or removed. The server manager command also provides a mechanism for performing unattended installation of server roles and features. You can choose to install a single role or feature or combine installation of multiple roles/features via an XML answer file. You can now easily gather information on the installed roles and/or features of any given server and export those results to XML for documentation. You can also determine what server components will be affected by the installation or removal of a server role or feature. - -## Optimize Server Performance - -To optimize Windows Server 2008 or Windows Server 2008 R2 performance, you can: - -- Run the IIS pageable code in working memory to maximize the data throughput. -- Run the IIS process (Inetinfo.exe) as a background service. -- Disable IIS logging. - -### Minimize IIS logging - -Unless required, disable logging on Web sites, virtual directories, files, and folders. You can use the UI or the command line. When logging is switched on, there is a constant appending of text files on the server that details everything about the Web sites. This is necessary if you are monitoring bandwidth though; switch on logging periodically to keep an eye on sites and the bandwidth they use, then switch off logging at all other times. There is generally no need to keep logging on permanently, unless you do want to constantly monitor bandwidth. - -To use the UI, open the IIS Manager and navigate to the level you want to manage. In **Features View**, double-click **Logging**. On the **Logging** page, in the **Actions** pane, click **Disable** to disable logging. - -To use the command line to disable logging, use the following syntax: - -[!code-console[Main](best-practices-for-php-on-the-microsoft-web-platform/samples/sample2.cmd)] - -## Enable Bandwidth Throttling - -With increasing numbers of sites offering media content, the bandwidth costs for many businesses can be very high. In addition, a large percentage of media bandwidth is wasted because the media content sent to the client is never really used. It is common for users browsing video sites to watch only part of a video before moving on to the next video or leaving the page. However, a Web server using progressive download to deliver the video will typically send significantly more data than is required for those few seconds of play time. Most of that data never gets used. - -For example, if your videos on average only get 5 seconds of viewing time but deliver (buffer) 30 seconds worth of video data in those 5 seconds, you are potentially wasting more than 80 percent of your bandwidth. - -### Use the Bit Rate Throttling Module - -IIS includes a Bit Rate Throttling Module, which automatically detects the encoding rate of the most popular video types. You can control how much data you would like to pre-send to the client in order to eliminate initial buffering delays (fast start) and at what percentage of the encoded rate you would like to deliver the content. You can also configure many other options, such as maximum bandwidth and concurrent connections, and control the module programmatically. - -![Screenshot showing the bandwidth throttling graph.](best-practices-for-php-on-the-microsoft-web-platform/_static/image9.jpg) - -*Figure 5 Bandwidth throttling* - -### Limit the number of connections to site - -You can also limit the number of connections available to individual Web sites. - -1. From the IIS Manager, expand the Web server and click to select the Web site. -2. Click **Limits…** in the Actions pane -3. Check the box for Limit number of connections -4. Enter the number of connections that you want to allow. Note that each connected client uses approximately four concurrent connections. -5. Click **OK.** - -### Enable CPU monitoring - -You can also enable CPU monitoring to monitor and to automatically shut down worker processes that consume large amounts of CPU time. - -1. From the IIS Manager, expand the Web server and select an Application Pool. -2. Click Advanced Settings from the Actions tab. -3. In the **Limit** box in the **CPU** section, and type the value that you want. -4. Click **OK**. - -## Use HTTP Keep-Alives - -The HTTP keep-alive response header improves Web server performance by keeping a client/server connection open across multiple requests to the server. The open connection improves performance when a client makes multiple requests for Web page content, because the server can return the content for each request more quickly. Otherwise, the server has to open a new connection for every request. By default, the HTTP keep-alive response header is enabled in IIS. - -1. From the IIS Manager and navigate to the level you want to manage. -2. In **Features View**, double-click **HTTP Response Headers**. -3. On the **HTTP Response Headers** page, in the **Actions** pane, click **Set Common Headers**. -4. In the **Set Common HTTP Response Headers** dialog box, select the **Enable HTTP keep-alive** check box, and then click **OK**. - -To enable the HTTP keep-alive header from the command line, use the following syntax: - -[!code-console[Main](best-practices-for-php-on-the-microsoft-web-platform/samples/sample3.cmd)] - -## Use HTTP Compression - -One of the most effective ways to reduce the bandwidth needed to deliver the application responses is to use HTTP compression. This can reduce the size of the response by a substantial amount, often by a factor of 10 when applied to easily compressible text content such as HTML. Since compression is based on Content-Encoding negotiation defined in the HTTP 1.1 protocol, enabling it is safe for clients that do not support compression—these clients simply receive an uncompressed version of the content. - -IIS provides the two compression features: - -- Static compression -- Dynamic compression - -Static compression pre-compresses static content and saves it on disk, thereby allowing future requests to serve compressed content directly without compression overhead. Dynamic compression compresses the response in real time and therefore enables compression for responses generated by applications. Any application framework on IIS can take advantage of dynamic compression—including ASP, ASP.NET, or PHP. - -Dynamic compression usually does not have a prohibitive CPU overhead. In fact, dynamic compression often causes less than 5 percent of the total CPU utilization on a busy server. Dynamic compression can be deployed somewhat liberally to allow for maximum bandwidth savings for any application workloads. - -You can further optimize compression overhead by configuring the compression strength in order to achieve the desired compression versus CPU overhead ratio. - -You can configure HTTP compression by using the UI, by running Appcmd.exe commands in a command-line window, by editing configuration files directly, or by writing WMI scripts. - -For example, to enable dynamic content compression from the command line, type the following and press ENTER: - -[!code-console[Main](best-practices-for-php-on-the-microsoft-web-platform/samples/sample4.cmd)] - -To enable compression on a particular site from the UI, select the site, and then, from the Work pane, select the Compression management tool. Choose whether you want to compress static content, dynamic content, or both. - -![Screenshot of the I I S Manager showing the Compression dialog in the main pane.](best-practices-for-php-on-the-microsoft-web-platform/_static/image11.jpg) - -*Figure 6 HTTP compression* - -## Use Forms Authentication - -This feature secures the application and the static image files and works well for sites or applications on public Web servers that receive many requests. This authentication mode lets you manage client registration and authentication at the application level, instead of relying on the authentication mechanisms provided by the operating system. You can use the built-in membership database or a custom membership provider. - -In the past, people would often protect the application pages themselves and leave images and media content open for public access. It wasn't easy to extend the same Internet-based authentication scheme to static content unless the static content was served through custom handlers. Even this wasn't a perfect solution, as you would often lose performance and static content features such as static compression and ranged request support. - -With IIS, you can configure Forms Authentication and URL Authorization rules once for the entire site, and you know that your ASPX pages, PHP scripts, HTML files, and media content is protected from unauthorized access. - -You can enable Forms Authentication by using the UI, running Appcmd.exe in a command-line window, by editing configuration files directly, or by writing WMI scripts. - -1. From the IIS Manager, navigate to the level you want to manage. -2. In **Features View**, double-click **Authentication**. -3. On the **Authentication** page, select **Forms Authentication**. -4. In the **Actions** pane, click **Enable** to use Forms Authentication with the default settings. - - ![Screenshot of the I I S Manager screen showing the Authentication dialog in the main pane.](best-practices-for-php-on-the-microsoft-web-platform/_static/image13.jpg) - - *Figure 7 Forms Authentication* - -To enable or disable Forms Authentication from the command line, use the following syntax: - -[!code-console[Main](best-practices-for-php-on-the-microsoft-web-platform/samples/sample5.cmd)] - -## Manage IIS 7.0 and above with the PowerShell Provider - -The IIS PowerShell Provider is a Windows PowerShell snap-in that allows you to manage IIS configuration and run-time data. It gives easy access to Web-Sites, Application Pools, Web applications, Virtual Directories, request in flight, Worker Processes, and .NET Application Domains within Worker Processes. - -Microsoft Windows PowerShell command-line shell and scripting language helps IT professionals achieve greater control and productivity. Using a new admin-focused scripting language, more than 130 standard command-line tools, and consistent syntax and utilities, Windows PowerShell allows IT professionals to more easily control system administration and accelerate automation. Windows PowerShell is built on top of the .NET common language runtime (CLR) and the .NET Framework, accepting and returning .NET objects. - -Figure 8 shows how to use the PowerShell Provider to create a new IIS application. - -![Screenshot of the PowerShell console screen.](best-practices-for-php-on-the-microsoft-web-platform/_static/image15.jpg) - -*Figure 8 PowerShell Management Console* - -The IIS PowerShell Provider allows you to: - -- Create Web sites, Web applications, virtual directories, and application pools. -- Change simple configuration properties on Web sites, Web applications, virtual directories, and application pools. -- Add and change complex configuration settings. -- Query run-time data (Web site state, application pool state, currently executing requests). -- Execute advanced configuration tasks, scripting, and integration with other PowerShell snap-ins and features. -- Search and discover configuration settings. - -For example, you can create a new application pool from the PowerShell Provider. This only requires the name to be specified. - -[!code-powershell[Main](best-practices-for-php-on-the-microsoft-web-platform/samples/sample6.ps1)] - -For more information, see the article "[Managing IIS with the IIS 7.0 and Above PowerShell Snap-in](../../manage/powershell/index.md)." - -## Extend IIS 7 and Above - -The IIS architecture is designed to be extensible from top to bottom, allowing you to replace any part of the built-in feature set with a custom implementation that suits your needs. As a result, instead of providing a patchwork of plug-in points, IIS implements all of its own features on top of the public extensibility model. This design is found throughout the platform, from the modular Web server engine itself to the configuration system to the IIS Manager console. - -Often, the desired Web workload requires additional functionality that may not be part of the built-in IIS feature set. Or, in some cases, the application may require a customized set of functionality for which the built-in features are not flexible enough. Because all of the IIS features are built on public extensibility APIs, you can replace any of them with a custom implementation that best fits your needs. - -### Extend the IIS Manager - -Developers can extend the IIS Manager by providing a UI for their custom components and having that UI fully integrated into IIS Manager in the same way as any out-of-the-box IIS component. By using the IIS Manager extensibility, API developers can take advantage of remote management capabilities for their components for free. - -IIS Manager has built-in remote administration capabilities. Using HTTPS between the IIS Manager and the remote server, this feature includes the ability to define trusted users in IIS Manager and have identities securely stored in the IIS configuration, Windows security accounts manager (SAM) or Active Directory, or a .NET provider. - -Unlike other tools that also support remote administration, the IIS Manager remote administration architecture offers several key advantages. First, it allows users who are not administrators on the server to manage sites and applications over which they have control. Second, the IIS Manager remoting mechanism uses HTTPS, instead of DCOM, which is easier to expose through corporate firewalls. Together, these two capabilities make the IIS Manager attractive for delegated remote management of IIS Web sites, especially in shared Web-hosting environments. - -The IIS Manager provides an extensible architecture on which most of the built-in IIS Manager features are based. To facilitate the remote management scenario, each management feature consists of two parts: the client-side components that provide the UI experience inside IIS Manager, and the server-side component that provides the actual management services. The server-side service is loaded inside IIS Manager for local management scenarios or inside the Web Management Service in remote management scenarios. In the latter case, IIS Manager handles the required communication between the components in IIS Manager on the client machine and the service running inside WmSvc on the target server machine. - -### Extend the configuration schema - -Extending the configuration schema can help manage your application. You can automate deployment of the application script to a virtual directory, or configure the role used to authorize users for caption editing, either system wide or for each Web site or application. Extending the schema involves adding a simple .xml file in the `%SystemRoot%\system32\inetsrv\config\schema` directory on your computer. The IIS\_schema.xml file is already present in this directory and can be used as an example to set up your own schema. Create a file named CUSTOM\_schema.xml and set it up, and then register the section in the applicationHost.config. This involves adding just one line in the applicationHost.config. - -## Use a Non-Thread-Safe Build of PHP - -A best practice is to use a non-thread-safe build of PHP with IIS FastCGI, available in PHP 5.2.1 or greater. There are two builds for each PHP version. One is thread safe, and one isn't, referred to as the Non-Thread-Safe (NTS) version. The thread-safe version is designed for environments where the Web server core can keep the PHP engine in memory, running multiple treads of execution for different Web requests simultaneously. The architecture of IIS and the FastCGI extension provide an isolation model that keeps requests separate, removing the need for a thread-safe version. The NTS doesn't have any of the code that allows PHP to manage multiple threads. As a result, you will see a performance improvement on IIS when using the NTS version as compared to the tread-safe version. - -IIS had always supported PHP but in a way that precluded many real-life PHP applications from being hosted in production environments. This was due to limitations in the two ways IIS offered for running PHP applications: using the Common Gateway Interface (CGI) protocol or using the PHP ISAPI extension. - -Because CGI requires a separate process for each request, apps hosted using CGI would perform poorly on Windows. Conversely, PHP apps using the IIS high-performance multithreaded ISAPI interface would often suffer from instability due to the lack of thread safety in some popular PHP extensions. - -In an attempt to solve these problems, the IIS team developed the FastCGI component. The open FastCGI protocol allows PHP and many other application frameworks that require a single-threaded environment (including Ruby on Rails, Perl, and Python) to run more reliably on IIS. Unlike the standard CGI implementation, FastCGI enables process reuse by maintaining a pool of worker processes, each processing no more than one request at a time, thus resulting in much-improved performance. FastCGI also benefitted from a community-centric development and testing model. - -## Set the Default Document - -IIS uses a configuration file named web.config. This file can be placed at any point within an application, and is used to include Web server directives that affect that directory and the ones below it. Many applications currently distribute the file .htaccess, which provides a similar set of capabilities. You can use the web.config file to identify the default document for your application, as follows: - -[!code-xml[Main](best-practices-for-php-on-the-microsoft-web-platform/samples/sample7.xml)] - -The bold **remove** entry in this example is required. If there is a previous definition for Index.php, this will remove it and place the new one at the top of the default document list. If there isn't a previous one, the remove will be ignored. - -## Use the URL Rewriter Module - -IIS includes a URL Rewriter module comprising a complete, expression-based engine for rewriting rules. These rules can be configured manually or by using the IIS Manager. The URL Rewriter module can import and convert mod\_rewrite rules. - -A typical simple rewrite rule, which converts all requests that come in to *http.example.com* into `http://www.example.com`, is shown in the following code: - -[!code-xml[Main](best-practices-for-php-on-the-microsoft-web-platform/samples/sample8.xml)] - -## Use the Request Filtering Module - -IIS uses the Request Filtering module to limit browser access to files or directories based upon specified criteria. The URL Filtering module is a powerful engine for securing access to various URLs and requests. - -An example of how to use request filtering to block access to certain types of files, such as include or log files, follows: - -[!code-xml[Main](best-practices-for-php-on-the-microsoft-web-platform/samples/sample9.xml)] - -## IIS 6.0 and 5.1 - -Earlier versions of IIS do not have the URL Rewriter module. One of the major uses for this module is to limit access to certain files and / or directories. For the older versions of IIS, it is possible to provide similar protections. - -## Links for Further Information - -- [Optimize IIS Performance (IIS 7)](https://technet.microsoft.com/library/cc770381(WS.10).aspx). -- [Windows Server Performance Team Blog](/archive/blogs/winserverperformance/tuning-windows-server-2008-for-php) -- [Top 10 Performance Improvements in IIS 7.0](https://technet.microsoft.com/magazine/2008.09.iis.aspx). -- [Enable or Disable Logging (IIS 7)](https://technet.microsoft.com/library/cc754631.aspx). -- [IIS 7.0 Bit Rate Throttling Module Released](https://weblogs.asp.net/scottgu/archive/2008/03/18/iis-7-0-bit-rate-throttling-module-released.aspx) -- [Bit Rate Throttling is now released](https://blogs.iis.net/vsood/archive/2008/03/15/bit-rate-throttling-is-now-released.aspx). -- [Configuring HTTP Compression in IIS 7](https://technet.microsoft.com/library/cc771003.aspx). -- [Build Web Server Solutions with End-To-End Extensibility](/archive/msdn-magazine/2008/launch/build-web-server-solutions-with-end-to-end-extensibility) -- [How to Get Started Extending Module Properties for IIS 7.0 and Above in IIS Manager](../../develop/extending-the-management-ui/how-to-get-started-extending-module-properties-for-iis-in-iis-manager.md). -- [How to Take Advantage of the IIS 7.0 and Above Integrated Pipeline](../building-and-running-aspnet-applications/how-to-take-advantage-of-the-iis-integrated-pipeline.md) -- [Enable Forms Authentication (IIS 7)](https://technet.microsoft.com/library/cc771077.aspx). -- [How to Use Request Filtering](../../manage/configuring-security/use-request-filtering.md). -- [Importing Apache mod\_rewrite Rules](../../extensions/url-rewrite-module/importing-apache-modrewrite-rules.md). -- [Translating .htaccess Content to IIS web.config](../install-and-configure-php-applications-on-iis/translate-htaccess-content-to-iis-webconfig.md). diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image1.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image1.jpg deleted file mode 100644 index 0fa977e97..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image1.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image10.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image10.jpg deleted file mode 100644 index c98672c24..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image10.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image11.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image11.jpg deleted file mode 100644 index 110fb5a0e..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image11.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image12.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image12.jpg deleted file mode 100644 index 110fb5a0e..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image12.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image13.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image13.jpg deleted file mode 100644 index 4ff9154e3..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image13.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image14.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image14.jpg deleted file mode 100644 index 4ff9154e3..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image14.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image15.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image15.jpg deleted file mode 100644 index 961009620..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image15.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image16.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image16.jpg deleted file mode 100644 index 961009620..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image16.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image2.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image2.jpg deleted file mode 100644 index 0fa977e97..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image2.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image3.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image3.jpg deleted file mode 100644 index c03192682..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image3.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image4.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image4.jpg deleted file mode 100644 index c03192682..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image4.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image5.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image5.jpg deleted file mode 100644 index e7325a0d3..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image5.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image6.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image6.jpg deleted file mode 100644 index e7325a0d3..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image6.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image7.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image7.jpg deleted file mode 100644 index fe9dbede7..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image7.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image8.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image8.jpg deleted file mode 100644 index fe9dbede7..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image8.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image9.jpg b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image9.jpg deleted file mode 100644 index c98672c24..000000000 Binary files a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/_static/image9.jpg and /dev/null differ diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample1.cmd b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample1.cmd deleted file mode 100644 index 18763229f..000000000 --- a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample1.cmd +++ /dev/null @@ -1,3 +0,0 @@ -C:\>%windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /[fullPath='c:\{php_folder}\php-cgi.exe'].instanceMaxRequests:10000 - -C:\>%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi /+"[fullPath='C:\{php_folder}\php-cgi.exe'].environmentVariables.[name='PHP_FCGI_MAX_REQUESTS' \ No newline at end of file diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample2.cmd b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample2.cmd deleted file mode 100644 index 03278640a..000000000 --- a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample2.cmd +++ /dev/null @@ -1 +0,0 @@ -C:\windows\system32\inetsrv>appcmd set config /section:httpLogging /dontLog:True \ No newline at end of file diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample3.cmd b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample3.cmd deleted file mode 100644 index 7192f5ff1..000000000 --- a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample3.cmd +++ /dev/null @@ -1 +0,0 @@ -C:\Windows\System32\inetsrv>appcmd set config /section:httpProtocol /allowKeepAlive:true | false \ No newline at end of file diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample4.cmd b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample4.cmd deleted file mode 100644 index f8dd53f8d..000000000 --- a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample4.cmd +++ /dev/null @@ -1 +0,0 @@ -C:\Windows\System32\inetsrv>appcmd set config /section:urlCompression /doDynamicCompression:True \ No newline at end of file diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample5.cmd b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample5.cmd deleted file mode 100644 index 6ee665bbb..000000000 --- a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample5.cmd +++ /dev/null @@ -1 +0,0 @@ -C:\Windows\System32\inetsrv>appcmd set config /commit:WEBROOT /section:system.web/authentication /mode: None | Windows | Passport | Forms \ No newline at end of file diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample6.ps1 b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample6.ps1 deleted file mode 100644 index b0283297b..000000000 --- a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample6.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -PS IIS:\> new-item AppPools\DemoAppPool -Name State ----- ----- -DemoAppPool \ No newline at end of file diff --git a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample7.xml b/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample7.xml deleted file mode 100644 index d902c3556..000000000 --- a/iis/application-frameworks/running-php-applications-on-iis/best-practices-for-php-on-the-microsoft-web-platform/samples/sample7.xml +++ /dev/null @@ -1,10 +0,0 @@ -
Value | Description |
---|---|
0 | The secure connection made using an IP/Port combination. Only one certificate can be bound to a combination of IP address and the port. |
1 | The secure connection made using the port number and the host name obtained by using Server Name Indication (SNI). |
2 | The secure connection be made using the centralized SSL certificate store. |
4 | Disable HTTP/2. |
8 | Disable OCSP Stapling. |
16 | Disable QUIC. |
32 | Disable TLS 1.3 over TCP. |
64 | Disable Legacy TLS. |
Value | Description |
---|---|
bitness32 | Specify the bitness32 value when the module is a 32-bit .dll file. IIS should load the handler only for worker processes that run in WOW64 mode (32-bit simulation) on a 64-bit operating system. |
bitness64 | Specify the bitness64 value when the module is a 64-bit .dll file. IIS should load the handler only for worker processes that run in 64-bit mode. |
integratedMode | Specify the integratedMode value when the module should respond only to requests in application pools that are configured to use the integrated request-processing pipeline. |
ISAPIMode | Specify the ISAPIMode value when the module should respond only to requests in application pools that are configured to use Classic mode. |
managedHandler | Specify the managedHandler value when the module should process requests only for managed resources, such as .aspx files, and should not respond to requests for non-managed resources, such as .html files. |
runtimeVersion1.1 | Specify the runtimeVersionv1.1 value when the module should respond only to requests in application pools that are configured to use .NET Framework version 1.1. |
runtimeVersion2.0 | Specify the runtimeVersionv2.0 value when the module should respond only to requests in application pools that are configured to use .NET Framework version 2.0. |
Value | Description |
---|---|
bitness32 | Specify the bitness32 value when the module is a 32-bit .dll file. IIS should load the handler only for worker processes that run in WOW64 mode (32-bit simulation) on a 64-bit operating system. |
bitness64 | Specify the bitness64 value when the module is a 64-bit .dll file. IIS should load the handler only for worker processes that run in 64-bit mode. |
integratedMode | Specify the integratedMode value when the module should respond only to requests in application pools that are configured to use the integrated request-processing pipeline. |
ISAPIMode | Specify the ISAPIMode value when the module should respond only to requests in application pools that are configured to use Classic mode. |
managedHandler | Specify the managedHandler value when the module should process requests only for managed resources, such as .aspx files, and should not respond to requests for non-managed resources, such as .html files. |
runtimeVersionv1.1 | Specify the runtimeVersionv1.1 value when the module should respond only to requests in application pools that are configured to use .NET Framework version 1.1. |
runtimeVersionv2.0 | Specify the runtimeVersionv2.0 value when the module should respond only to requests in application pools that are configured to use .NET Framework version 2.0. |
runtimeVersionv4.0 | Specify the runtimeVersionv4.0 value when the module should respond only to requests in application pools that are configured to use .NET Framework version 4.0. |