<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/37/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Skodak</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/37/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Skodak"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/Special:Contributions/Skodak"/>
	<updated>2026-05-08T17:57:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Windows_installation&amp;diff=113024</id>
		<title>Windows installation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Windows_installation&amp;diff=113024"/>
		<updated>2014-06-09T23:21:19Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
&lt;br /&gt;
Windows is not suitable for large Moodle installations because PHP for Windows does not support 64-bit integer numbers, even if it is running on 64-bit Windows in 64-bit mode. One of the  problems is that Moodle may fail to access data if there are more than 2 billion records in one database table because the id column is too big for integers. Another limitation is a maximum file size of 2GB, which can cause problems (for example) when making backups of large courses. Please consider a different operating system with full 64-bit support for very large installations.&lt;br /&gt;
&lt;br /&gt;
==Installation Packages==&lt;br /&gt;
If you are running a small (less than 30 users) Moodle server or just want to test Moodle on your Windows  PC, pre-built packages are available for you to use. Here are links to pages containing step-by-step instructions for installing Moodle using install packages:&lt;br /&gt;
&lt;br /&gt;
*[[Complete install packages for Windows]] for most Windows versions&lt;br /&gt;
*[[Windows installation using Git|Installation guide for Windows using WAMP and Git]] How to install Moodle on your Windows PC and update it regularly via Git.&lt;br /&gt;
&lt;br /&gt;
*[[Windows installation using XAMPP|Installation guide for Windows using XAMPP]] A more typical webserver installation than a complete install package. Both use XAMPP.&lt;br /&gt;
&lt;br /&gt;
*[[Installation guide for Windows using EasyPHP]]&lt;br /&gt;
&lt;br /&gt;
== Manual Installation ==&lt;br /&gt;
For medium to large installations (e.g. a college, university or business), it is best practice to install Moodle on your server manually. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Plan your system capacity&#039;&#039;&#039;. This involves estimating the appropriate hardware to support the number of users in your organisation. See [[Installing Moodle#How_many_users.3F| Installing Moodle ]] in the How Many Users section for a method of doing this.&lt;br /&gt;
* &#039;&#039;&#039;Install your database server&#039;&#039;&#039;. You have a choice of [http://dev.mysql.com/downloads/ MySQL]/[http://mariadb.org/ MariaDB] (recommended), [http://www.postgresql.org/download/ PostgreSQL] (recommended), [[Installing MSSQL for PHP | Microsoft SQL Server 2005]] or Oracle (not recommended).&lt;br /&gt;
* &#039;&#039;&#039;Install your web server&#039;&#039;&#039;. You have several choices - the decision as to which one to use will depend on your in-house expertise and your required level of sustainability:&lt;br /&gt;
**Apache 2 is recommended as the most tested and popular for Moodle installations. See these instructions for [[Installing Apache on Windows |manually installing Apache 2 on Windows]].&lt;br /&gt;
**[[IIS]] 7 server can also be used. See the Windows forum for guidance on installation and, in particular, permission settings for using Moodle with IIS and CGI timeouts.&lt;br /&gt;
**Other webservers are known to install on Windows, e.g. Lighttpd, so you may wish to experiment with these if available memory is low on your server.&lt;br /&gt;
* &#039;&#039;&#039;Install PHP&#039;&#039;&#039;. Use Microsoft Web Platform Installer when using [[IIS]] server.&lt;br /&gt;
* &#039;&#039;&#039;Install Moodle&#039;&#039;&#039; by getting the standard installation for Moodle from [http://download.moodle.org/ http://download.moodle.org/] and read [[Installing Moodle]] which has detailed generic information.&lt;br /&gt;
* &#039;&#039;&#039;Setup backups&#039;&#039;&#039;. Once Moodle is setup and configured, you should setup backups of the system in case of failure or loss of data. &lt;br /&gt;
** &#039;&#039;&#039;To perform full site backups&#039;&#039;&#039; you need to backup the moodledata and moodle directories, Apache webserver configuration (httpd.conf) if you&#039;re using Apache, PHP configuration (php.ini) and any php extensions which are non-standard, and the mysql database. To do this use the integrated backup program (Start -&amp;gt; All Programs -&amp;gt; Accessories -&amp;gt; System Tools -&amp;gt; Backup) or your own proprietary backup software (e.g. BackupExec). To backup your mysql database see the [[Backup and restore FAQ]].&lt;br /&gt;
** &#039;&#039;&#039;To perform course backups&#039;&#039;&#039; see the [[Course backup]] page.&lt;br /&gt;
** You should also perform a &#039;&#039;&#039;state backup&#039;&#039;&#039; of the [http://technet2.microsoft.com/WindowsServer/en/library/921f0ed5-523d-48ac-8825-e850b0e548841033.mspx?mfr=true server] or [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntbackup_backup_sysstate.mspx?mfr=true PC]. This is especially important if you&#039;re using IIS as this will backup the IIS metabase. &lt;br /&gt;
* &#039;&#039;&#039;Check your server security and performance&#039;&#039;&#039;. It is also good practice to read the [[Performance]] and [[Security]] documentation. Although much of the content is targeted at Linux/Unix users, there is a growing amount for Windows systems.&lt;br /&gt;
* Set-up your &#039;&#039;&#039;Active Directory authentication&#039;&#039;&#039;. You can use the standard [[LDAP authentication]] which prompts users with a username/password, or [[NTLM authentication | integrated NTLM authentication]] which does not require campus users to enter their credentials.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Manual install on Windows 7 with Apache and MySQL]]&lt;br /&gt;
* [[Installing APC in Windows]] contains instructions for using a PHP accelerator to reduce processor load.&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=56835 Running Apache and IIS on the same server] forum discussion.&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Windows_installation&amp;diff=113023</id>
		<title>Windows installation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Windows_installation&amp;diff=113023"/>
		<updated>2014-06-09T23:15:37Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
&lt;br /&gt;
Windows is not suitable for large Moodle installations because PHP for Windows does not support 64-bit integer numbers, even if it is running on 64-bit Windows in 64-bit mode. The most significant problem is that Moodle may fail to access data if there are more than 2 billion records in one database table because the id column is too big for integers. Another limitation is a maximum file size of 2GB, which can cause problems (for example) when making backups of large courses. Please consider a different operating system with full 64-bit support for very large installations.&lt;br /&gt;
&lt;br /&gt;
==Installation Packages==&lt;br /&gt;
If you are running a small (less than 30 users) Moodle server or just want to test Moodle on your Windows  PC, pre-built packages are available for you to use. Here are links to pages containing step-by-step instructions for installing Moodle using install packages:&lt;br /&gt;
&lt;br /&gt;
*[[Complete install packages for Windows]] for most Windows versions&lt;br /&gt;
*[[Windows installation using Git|Installation guide for Windows using WAMP and Git]] How to install Moodle on your Windows PC and update it regularly via Git.&lt;br /&gt;
&lt;br /&gt;
*[[Windows installation using XAMPP|Installation guide for Windows using XAMPP]] A more typical webserver installation than a complete install package. Both use XAMPP.&lt;br /&gt;
&lt;br /&gt;
*[[Installation guide for Windows using EasyPHP]]&lt;br /&gt;
&lt;br /&gt;
== Manual Installation ==&lt;br /&gt;
For medium to large installations (e.g. a college, university or business), it is best practice to install Moodle on your server manually. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Plan your system capacity&#039;&#039;&#039;. This involves estimating the appropriate hardware to support the number of users in your organisation. See [[Installing Moodle#How_many_users.3F| Installing Moodle ]] in the How Many Users section for a method of doing this.&lt;br /&gt;
* &#039;&#039;&#039;Install your database server&#039;&#039;&#039;. You have a choice of [http://dev.mysql.com/downloads/ MySQL]/[http://mariadb.org/ MariaDB] (recommended), [http://www.postgresql.org/download/ PostgreSQL] (recommended), [[Installing MSSQL for PHP | Microsoft SQL Server 2005]] or Oracle (not recommended).&lt;br /&gt;
* &#039;&#039;&#039;Install your web server&#039;&#039;&#039;. You have several choices - the decision as to which one to use will depend on your in-house expertise and your required level of sustainability:&lt;br /&gt;
**Apache 2 is recommended as the most tested and popular for Moodle installations. See these instructions for [[Installing Apache on Windows |manually installing Apache 2 on Windows]].&lt;br /&gt;
**[[IIS]] 7 server can also be used. See the Windows forum for guidance on installation and, in particular, permission settings for using Moodle with IIS and CGI timeouts.&lt;br /&gt;
**Other webservers are known to install on Windows, e.g. Lighttpd, so you may wish to experiment with these if available memory is low on your server.&lt;br /&gt;
* &#039;&#039;&#039;Install PHP&#039;&#039;&#039;. Use Microsoft Web Platform Installer when using [[IIS]] server.&lt;br /&gt;
* &#039;&#039;&#039;Install Moodle&#039;&#039;&#039; by getting the standard installation for Moodle from [http://download.moodle.org/ http://download.moodle.org/] and read [[Installing Moodle]] which has detailed generic information.&lt;br /&gt;
* &#039;&#039;&#039;Setup backups&#039;&#039;&#039;. Once Moodle is setup and configured, you should setup backups of the system in case of failure or loss of data. &lt;br /&gt;
** &#039;&#039;&#039;To perform full site backups&#039;&#039;&#039; you need to backup the moodledata and moodle directories, Apache webserver configuration (httpd.conf) if you&#039;re using Apache, PHP configuration (php.ini) and any php extensions which are non-standard, and the mysql database. To do this use the integrated backup program (Start -&amp;gt; All Programs -&amp;gt; Accessories -&amp;gt; System Tools -&amp;gt; Backup) or your own proprietary backup software (e.g. BackupExec). To backup your mysql database see the [[Backup and restore FAQ]].&lt;br /&gt;
** &#039;&#039;&#039;To perform course backups&#039;&#039;&#039; see the [[Course backup]] page.&lt;br /&gt;
** You should also perform a &#039;&#039;&#039;state backup&#039;&#039;&#039; of the [http://technet2.microsoft.com/WindowsServer/en/library/921f0ed5-523d-48ac-8825-e850b0e548841033.mspx?mfr=true server] or [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntbackup_backup_sysstate.mspx?mfr=true PC]. This is especially important if you&#039;re using IIS as this will backup the IIS metabase. &lt;br /&gt;
* &#039;&#039;&#039;Check your server security and performance&#039;&#039;&#039;. It is also good practice to read the [[Performance]] and [[Security]] documentation. Although much of the content is targeted at Linux/Unix users, there is a growing amount for Windows systems.&lt;br /&gt;
* Set-up your &#039;&#039;&#039;Active Directory authentication&#039;&#039;&#039;. You can use the standard [[LDAP authentication]] which prompts users with a username/password, or [[NTLM authentication | integrated NTLM authentication]] which does not require campus users to enter their credentials.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Manual install on Windows 7 with Apache and MySQL]]&lt;br /&gt;
* [[Installing APC in Windows]] contains instructions for using a PHP accelerator to reduce processor load.&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=56835 Running Apache and IIS on the same server] forum discussion.&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Windows_installation&amp;diff=113022</id>
		<title>Windows installation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Windows_installation&amp;diff=113022"/>
		<updated>2014-06-09T23:14:50Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
&lt;br /&gt;
Windows is not suitable for large Moodle installations because PHP for Windows does not support 64-bit integer numbers, even if it is running on 64-bit Windows in 64-bit mode. The most significant problem is that Moodle may fail to access data if there are more than 2 billion records in one database table because the id column is too big for integers. Another limitation is a maximum file size of 2GB, which can cause problems (for example) when making backups of large courses. Please consider a different operating system with full 64-bit support for all large installations.&lt;br /&gt;
&lt;br /&gt;
==Installation Packages==&lt;br /&gt;
If you are running a small (less than 30 users) Moodle server or just want to test Moodle on your Windows  PC, pre-built packages are available for you to use. Here are links to pages containing step-by-step instructions for installing Moodle using install packages:&lt;br /&gt;
&lt;br /&gt;
*[[Complete install packages for Windows]] for most Windows versions&lt;br /&gt;
*[[Windows installation using Git|Installation guide for Windows using WAMP and Git]] How to install Moodle on your Windows PC and update it regularly via Git.&lt;br /&gt;
&lt;br /&gt;
*[[Windows installation using XAMPP|Installation guide for Windows using XAMPP]] A more typical webserver installation than a complete install package. Both use XAMPP.&lt;br /&gt;
&lt;br /&gt;
*[[Installation guide for Windows using EasyPHP]]&lt;br /&gt;
&lt;br /&gt;
== Manual Installation ==&lt;br /&gt;
For medium to large installations (e.g. a college, university or business), it is best practice to install Moodle on your server manually. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Plan your system capacity&#039;&#039;&#039;. This involves estimating the appropriate hardware to support the number of users in your organisation. See [[Installing Moodle#How_many_users.3F| Installing Moodle ]] in the How Many Users section for a method of doing this.&lt;br /&gt;
* &#039;&#039;&#039;Install your database server&#039;&#039;&#039;. You have a choice of [http://dev.mysql.com/downloads/ MySQL]/[http://mariadb.org/ MariaDB] (recommended), [http://www.postgresql.org/download/ PostgreSQL] (recommended), [[Installing MSSQL for PHP | Microsoft SQL Server 2005]] or Oracle (not recommended).&lt;br /&gt;
* &#039;&#039;&#039;Install your web server&#039;&#039;&#039;. You have several choices - the decision as to which one to use will depend on your in-house expertise and your required level of sustainability:&lt;br /&gt;
**Apache 2 is recommended as the most tested and popular for Moodle installations. See these instructions for [[Installing Apache on Windows |manually installing Apache 2 on Windows]].&lt;br /&gt;
**[[IIS]] 7 server can also be used. See the Windows forum for guidance on installation and, in particular, permission settings for using Moodle with IIS and CGI timeouts.&lt;br /&gt;
**Other webservers are known to install on Windows, e.g. Lighttpd, so you may wish to experiment with these if available memory is low on your server.&lt;br /&gt;
* &#039;&#039;&#039;Install PHP&#039;&#039;&#039;. Use Microsoft Web Platform Installer when using [[IIS]] server.&lt;br /&gt;
* &#039;&#039;&#039;Install Moodle&#039;&#039;&#039; by getting the standard installation for Moodle from [http://download.moodle.org/ http://download.moodle.org/] and read [[Installing Moodle]] which has detailed generic information.&lt;br /&gt;
* &#039;&#039;&#039;Setup backups&#039;&#039;&#039;. Once Moodle is setup and configured, you should setup backups of the system in case of failure or loss of data. &lt;br /&gt;
** &#039;&#039;&#039;To perform full site backups&#039;&#039;&#039; you need to backup the moodledata and moodle directories, Apache webserver configuration (httpd.conf) if you&#039;re using Apache, PHP configuration (php.ini) and any php extensions which are non-standard, and the mysql database. To do this use the integrated backup program (Start -&amp;gt; All Programs -&amp;gt; Accessories -&amp;gt; System Tools -&amp;gt; Backup) or your own proprietary backup software (e.g. BackupExec). To backup your mysql database see the [[Backup and restore FAQ]].&lt;br /&gt;
** &#039;&#039;&#039;To perform course backups&#039;&#039;&#039; see the [[Course backup]] page.&lt;br /&gt;
** You should also perform a &#039;&#039;&#039;state backup&#039;&#039;&#039; of the [http://technet2.microsoft.com/WindowsServer/en/library/921f0ed5-523d-48ac-8825-e850b0e548841033.mspx?mfr=true server] or [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntbackup_backup_sysstate.mspx?mfr=true PC]. This is especially important if you&#039;re using IIS as this will backup the IIS metabase. &lt;br /&gt;
* &#039;&#039;&#039;Check your server security and performance&#039;&#039;&#039;. It is also good practice to read the [[Performance]] and [[Security]] documentation. Although much of the content is targeted at Linux/Unix users, there is a growing amount for Windows systems.&lt;br /&gt;
* Set-up your &#039;&#039;&#039;Active Directory authentication&#039;&#039;&#039;. You can use the standard [[LDAP authentication]] which prompts users with a username/password, or [[NTLM authentication | integrated NTLM authentication]] which does not require campus users to enter their credentials.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Manual install on Windows 7 with Apache and MySQL]]&lt;br /&gt;
* [[Installing APC in Windows]] contains instructions for using a PHP accelerator to reduce processor load.&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=56835 Running Apache and IIS on the same server] forum discussion.&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Windows_installation&amp;diff=113021</id>
		<title>Windows installation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Windows_installation&amp;diff=113021"/>
		<updated>2014-06-09T23:02:54Z</updated>

		<summary type="html">&lt;p&gt;Skodak: $DB-&amp;gt;insert_record() returns integer - bad luck for 32-bit OSes and windows!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
&lt;br /&gt;
Windows is not suitable for large Moodle installations because PHP for Windows does not support 64-bit integer numbers, even if it is running on 64-bit Windows in 64-bit mode. The most significant problem is that Moodle may fail to access data if there are more than 2 million records in one database table because the id column is too big for integers. Another limitation is a maximum file size of 2GB, which can cause problems (for example) when making backups of large courses. Please consider a different operating system with full 64-bit support for all large installations.&lt;br /&gt;
&lt;br /&gt;
==Installation Packages==&lt;br /&gt;
If you are running a small (less than 30 users) Moodle server or just want to test Moodle on your Windows  PC, pre-built packages are available for you to use. Here are links to pages containing step-by-step instructions for installing Moodle using install packages:&lt;br /&gt;
&lt;br /&gt;
*[[Complete install packages for Windows]] for most Windows versions&lt;br /&gt;
*[[Windows installation using Git|Installation guide for Windows using WAMP and Git]] How to install Moodle on your Windows PC and update it regularly via Git.&lt;br /&gt;
&lt;br /&gt;
*[[Windows installation using XAMPP|Installation guide for Windows using XAMPP]] A more typical webserver installation than a complete install package. Both use XAMPP.&lt;br /&gt;
&lt;br /&gt;
*[[Installation guide for Windows using EasyPHP]]&lt;br /&gt;
&lt;br /&gt;
== Manual Installation ==&lt;br /&gt;
For medium to large installations (e.g. a college, university or business), it is best practice to install Moodle on your server manually. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Plan your system capacity&#039;&#039;&#039;. This involves estimating the appropriate hardware to support the number of users in your organisation. See [[Installing Moodle#How_many_users.3F| Installing Moodle ]] in the How Many Users section for a method of doing this.&lt;br /&gt;
* &#039;&#039;&#039;Install your database server&#039;&#039;&#039;. You have a choice of [http://dev.mysql.com/downloads/ MySQL]/[http://mariadb.org/ MariaDB] (recommended), [http://www.postgresql.org/download/ PostgreSQL] (recommended), [[Installing MSSQL for PHP | Microsoft SQL Server 2005]] or Oracle (not recommended).&lt;br /&gt;
* &#039;&#039;&#039;Install your web server&#039;&#039;&#039;. You have several choices - the decision as to which one to use will depend on your in-house expertise and your required level of sustainability:&lt;br /&gt;
**Apache 2 is recommended as the most tested and popular for Moodle installations. See these instructions for [[Installing Apache on Windows |manually installing Apache 2 on Windows]].&lt;br /&gt;
**[[IIS]] 7 server can also be used. See the Windows forum for guidance on installation and, in particular, permission settings for using Moodle with IIS and CGI timeouts.&lt;br /&gt;
**Other webservers are known to install on Windows, e.g. Lighttpd, so you may wish to experiment with these if available memory is low on your server.&lt;br /&gt;
* &#039;&#039;&#039;Install PHP&#039;&#039;&#039;. Use Microsoft Web Platform Installer when using [[IIS]] server.&lt;br /&gt;
* &#039;&#039;&#039;Install Moodle&#039;&#039;&#039; by getting the standard installation for Moodle from [http://download.moodle.org/ http://download.moodle.org/] and read [[Installing Moodle]] which has detailed generic information.&lt;br /&gt;
* &#039;&#039;&#039;Setup backups&#039;&#039;&#039;. Once Moodle is setup and configured, you should setup backups of the system in case of failure or loss of data. &lt;br /&gt;
** &#039;&#039;&#039;To perform full site backups&#039;&#039;&#039; you need to backup the moodledata and moodle directories, Apache webserver configuration (httpd.conf) if you&#039;re using Apache, PHP configuration (php.ini) and any php extensions which are non-standard, and the mysql database. To do this use the integrated backup program (Start -&amp;gt; All Programs -&amp;gt; Accessories -&amp;gt; System Tools -&amp;gt; Backup) or your own proprietary backup software (e.g. BackupExec). To backup your mysql database see the [[Backup and restore FAQ]].&lt;br /&gt;
** &#039;&#039;&#039;To perform course backups&#039;&#039;&#039; see the [[Course backup]] page.&lt;br /&gt;
** You should also perform a &#039;&#039;&#039;state backup&#039;&#039;&#039; of the [http://technet2.microsoft.com/WindowsServer/en/library/921f0ed5-523d-48ac-8825-e850b0e548841033.mspx?mfr=true server] or [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntbackup_backup_sysstate.mspx?mfr=true PC]. This is especially important if you&#039;re using IIS as this will backup the IIS metabase. &lt;br /&gt;
* &#039;&#039;&#039;Check your server security and performance&#039;&#039;&#039;. It is also good practice to read the [[Performance]] and [[Security]] documentation. Although much of the content is targeted at Linux/Unix users, there is a growing amount for Windows systems.&lt;br /&gt;
* Set-up your &#039;&#039;&#039;Active Directory authentication&#039;&#039;&#039;. You can use the standard [[LDAP authentication]] which prompts users with a username/password, or [[NTLM authentication | integrated NTLM authentication]] which does not require campus users to enter their credentials.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Manual install on Windows 7 with Apache and MySQL]]&lt;br /&gt;
* [[Installing APC in Windows]] contains instructions for using a PHP accelerator to reduce processor load.&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=56835 Running Apache and IIS on the same server] forum discussion.&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109488</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109488"/>
		<updated>2014-01-29T05:10:26Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform Installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you may need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI in IIS, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===URL rewriting===&lt;br /&gt;
If you can not modify registry as described below you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===Optional UTF-8 file name fix===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109487</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109487"/>
		<updated>2014-01-29T05:10:02Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform Installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI in IIS, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===URL rewriting===&lt;br /&gt;
If you can not modify registry as described below you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===Optional UTF-8 file name fix===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109486</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109486"/>
		<updated>2014-01-29T05:09:22Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform Installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===URL rewriting===&lt;br /&gt;
If you can not modify registry as described below you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===Optional UTF-8 file name fix===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109485</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109485"/>
		<updated>2014-01-29T05:08:36Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS installation steps (Windows 7) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform Installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===URL rewriting===&lt;br /&gt;
If you can not modify registry as described below you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===Optional UTF-8 file name fix===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109484</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109484"/>
		<updated>2014-01-29T05:07:18Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS configuration steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===URL rewriting===&lt;br /&gt;
If you can not modify registry as described below you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===Optional UTF-8 file name fix===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109483</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109483"/>
		<updated>2014-01-29T05:06:54Z</updated>

		<summary type="html">&lt;p&gt;Skodak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===URL rewriting===&lt;br /&gt;
If you can not modify registry as described below you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===Optional UTF-8 file name fix===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109482</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109482"/>
		<updated>2014-01-29T05:00:43Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* Optionally fix UTF-8 file names */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Slasharguments==&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
==URL rewriting==&lt;br /&gt;
If you can not modify registry as described below you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
==Optional UTF-8 file name fix==&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CGI timeouts==&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109481</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109481"/>
		<updated>2014-01-29T05:00:09Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* Other configuration changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Slasharguments==&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
==URL rewriting==&lt;br /&gt;
If you can not modify registry as described below you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
==Optionally fix UTF-8 file names==&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CGI timeouts==&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109480</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109480"/>
		<updated>2014-01-29T04:00:06Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* URL rewriting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==Other configuration changes==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===URL rewriting===&lt;br /&gt;
If you can not modify registry as described below you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===Optionally fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109479</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109479"/>
		<updated>2014-01-29T03:59:43Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* URL rewriting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==Other configuration changes==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===URL rewriting===&lt;br /&gt;
If you can not modify registry as described bellow you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===Optionally fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109478</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109478"/>
		<updated>2014-01-29T03:59:15Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* More configuration hints */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==Other configuration changes==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===URL rewriting===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===Optionally fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109477</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109477"/>
		<updated>2014-01-29T03:58:05Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* More configuration hints */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===URL rewriting===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===Optionally fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109476</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109476"/>
		<updated>2014-01-29T03:39:18Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP configuration steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Set PHP configuration to values recommended by PHP Manager&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109475</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=109475"/>
		<updated>2014-01-29T03:36:48Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not usually distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform Installer]&lt;br /&gt;
# Install latest PHP 5.5.x using Web Platform Installer&lt;br /&gt;
# Install URL Rewrite 2.0 using Web Platform Installer&lt;br /&gt;
&lt;br /&gt;
Optionally you may install the required components manually:&lt;br /&gt;
# Download [http://phpmanager.codeplex.com PHP manager for IIS] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=MySQL&amp;diff=109107</id>
		<title>MySQL</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=MySQL&amp;diff=109107"/>
		<updated>2014-01-21T07:25:18Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* Installing MySQL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
MySQL is one of the supported databases that underpins a Moodle installation. &lt;br /&gt;
&lt;br /&gt;
== Installing MySQL ==&lt;br /&gt;
&lt;br /&gt;
* If you are running Linux your preference should be to install using your distributions package manager. This ensures you will get any available updates. &lt;br /&gt;
* There are installers available for most popular operating systems at http://www.mysql.com/downloads/mysql/.&lt;br /&gt;
* It is possible and reasonably straightforward to build mysql from source but it is not recommended (the pre-built binaries are supposedly better optimised).&lt;br /&gt;
* Make sure you set a password for the &#039;root&#039; user (see http://dev.mysql.com/doc/refman/5.0/en/default-privileges.html).&lt;br /&gt;
* Consider installing and configuring my.cnf (the MySQL settings file) to suit your needs. The default configuration is usually very conservative in respect of memory usage versus performance. Increase the &#039;max_allowed_packet&#039; setting to at least 4 megabytes.&lt;br /&gt;
&lt;br /&gt;
== Creating Moodle database ==&lt;br /&gt;
&lt;br /&gt;
These are the steps to create an empty Moodle database. Substitute your own database name, user name and password as appropriate.&lt;br /&gt;
&lt;br /&gt;
The instructions assume that the web server and MySQL server are on the same machine. In this case the &#039;dbhost&#039; is &#039;localhost&#039;. If they are on different machines substitute the name of the web server for &#039;localhost&#039; in the following instructions and the &#039;dbhost&#039; setting will be the name of the database server. &lt;br /&gt;
&lt;br /&gt;
=== Command line === &lt;br /&gt;
&lt;br /&gt;
* To create a database using the &#039;mysql&#039; command line client, first log into MySQL&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysql -u root -p&lt;br /&gt;
Enter password: &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(Enter the password you previously set - or been given - for the MySQL &#039;root&#039; user). After some pre-amble this should take you to the &#039;&#039;mysql&amp;gt;&#039;&#039; prompt.&lt;br /&gt;
* Create a new database (called &#039;moodle&#039; - substitute your own name if required).  We recommend you use &#039;&#039;&#039;utf8_unicode_ci&#039;&#039;&#039; for collation.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql&amp;gt; CREATE DATABASE moodle DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Add a user/password with the minimum needed permissions:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql&amp;gt; GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,CREATE TEMPORARY TABLES,DROP,INDEX,ALTER ON moodle.* TO moodleuser@localhost IDENTIFIED BY &#039;yourpassword&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
...which creates a user called &#039;moodleuser&#039; with a password &#039;yourpassword&#039;. Make sure you invent a strong password and resist the temptation to &#039;GRANT ALL&#039;.&lt;br /&gt;
&lt;br /&gt;
=== phpMyAdmin ===&lt;br /&gt;
&lt;br /&gt;
[http://www.phpmyadmin.net/ phpMyAdmin] is a web based administration tool for MySQL. If this is available you can use it to create a new database. Make sure that you select &#039;UTF8&#039; as the default character set.&lt;br /&gt;
&lt;br /&gt;
==Which database belongs to which Moodle==&lt;br /&gt;
If you have installed several Moodle installations on the same server, there will be several several databases in your MySQL server. The names might be quite poor reflections of the content like  _mdl1 _mdl2 _mdl3 . So how do I see which database goes with which Moodle installation? You can go in with phpMyAdmin and in the various databases check for the table &amp;quot;mdl_course&amp;quot;. There you will easily see the name of that Moodle Installation.  In table mdl_config you can see the Moodle version. (Where can one find the home relative URL of the Moodle installation?)&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[MariaDB]]&lt;br /&gt;
* [http://www.mysql.com/ The MySQL homepage]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/MySQL Wikipedia article about &#039;&#039;MySQL&#039;&#039;]&lt;br /&gt;
* [http://forums.mysql.com/read.php?24,92131,92131 List of articles on MySQL performance tuning]&lt;br /&gt;
&lt;br /&gt;
[[Category:SQL databases]]&lt;br /&gt;
&lt;br /&gt;
[[ja:MySQL]]&lt;br /&gt;
[[de:MySQL]]&lt;br /&gt;
[[es:MySQL]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Installing_MSSQL_for_PHP&amp;diff=108050</id>
		<title>Installing MSSQL for PHP</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Installing_MSSQL_for_PHP&amp;diff=108050"/>
		<updated>2013-11-29T08:01:26Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* Installation overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This short manual is suitable if you are trying to run Moodle using the SQL*Server (MSSQL) RDBMS. Steps detailed below must be performed &#039;&#039;&#039;before&#039;&#039;&#039; installing Moodle itself.&lt;br /&gt;
&lt;br /&gt;
Some of this may also apply if you wish to access an MSSQL server for external db authentication/enrollment. &lt;br /&gt;
&lt;br /&gt;
First of all, minimum required version of MSSQL has been stabilised to MSSQL 2005 (v.9).&lt;br /&gt;
&lt;br /&gt;
While PHP comes with one, more or less, standard extension (mssql) that provides access to MSSQL databases, early we found some hard limits on it. Basically such default extension has some limits that prevent us to use it at all (you can find more info about these problems [[Development:XMLDB problems#MSSQL, PHP, UTF-8 and UCS-2|here]]).&lt;br /&gt;
&lt;br /&gt;
So, in order to allow PHP (i.e. Moodle) to access to MSSQL DBs properly we have to install a &#039;&#039;&#039;mssql extension alternative&#039;&#039;&#039; to save us from the problems related above. See the sections below for details about the various options.&lt;br /&gt;
&lt;br /&gt;
== Installation overview ==&lt;br /&gt;
&lt;br /&gt;
1. Get MSSQL Server installed and running. ([http://www.microsoft.com/sql/editions/express/default.mspx A free limited version, SQL Server Express Edition] is available for testing.)&lt;br /&gt;
:Make sure that you choose mixed authentication (Windows and local accounts) to keep things simpler later.  You&#039;ll be asked to define the  &amp;quot;sa&amp;quot; account password (it&#039;s the default System Administrator account which has full access to all databases by default).&lt;br /&gt;
&lt;br /&gt;
2. Make sure MS SQL Server can accept incoming TCP/IP connections on port 1433 (the standard one).&lt;br /&gt;
:You might need to explicitly allow this in your Windows firewall (see the Control Panel).  You may also need to edit options in the :&#039;&#039;&#039;SQL Server Configuration Manager&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Network Configuration&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Protocols&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;TCP/IP enabled&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
3. Open the &amp;quot;SQL Server Management Studio&amp;quot; and create a new empty database.  If you are using the &amp;quot;sa&amp;quot; account then you don&#039;t need to do anything else here.&lt;br /&gt;
&lt;br /&gt;
4. Configure these settings in your created (and still empty) database:&lt;br /&gt;
Configure these settings in your created (and still empty) database:&lt;br /&gt;
:*Use a case sensitive collation, such as Latin1_General_CS_AS.&lt;br /&gt;
:*ANSI NULLS Enabled = True (ALTER DATABASE xxxx SET ANSI_NULLS ON)&lt;br /&gt;
:*Quoted Identifiers Enabled = True (ALTER DATABASE xxxx SET QUOTED_IDENTIFIER ON)&lt;br /&gt;
:*Is Read Committed transaction ON = True (ALTER DATABASE xxxx SET READ_COMMITTED_SNAPSHOT ON)&lt;br /&gt;
:** In older versions this is not settable via the DB properties. To set READ_COMMITTED_SNAPSHOT, there must be no active connections to the database except for the connection executing the ALTER command. If you are viewing the DB in the Server Management Studio, disconnect from any servers in the &amp;quot;Object Explorer&amp;quot; (right-click &amp;gt; Disconnect), then create a &amp;quot;New Query&amp;quot; and run the ALTER command. See http://msdn.microsoft.com/en-us/library/bb522682.aspx for details.&lt;br /&gt;
:** If your DB name starts with a number, you may need to put quotes around the DB name in the query.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Get PHP installed with a web server.   Unless you want to do it under IIS or some other way, the packages on the [http://download.moodle.org Moodle download page] are a good solution.&lt;br /&gt;
&lt;br /&gt;
6. Choose one of the following specific sections for your server to install the &#039;&#039;&#039;mssql extension alternative&#039;&#039;&#039; installed and running properly on your PHP box.&lt;br /&gt;
&lt;br /&gt;
7. Set the following settings in your php.ini file&lt;br /&gt;
:* mssql.textlimit = 20971520&lt;br /&gt;
:* mssql.textsize = 20971520&lt;br /&gt;
&lt;br /&gt;
8. With all this properly configured, you can continue with a [[Installing Moodle|standard Moodle installation]].&lt;br /&gt;
&lt;br /&gt;
== Microsoft Drivers for SQL Server for PHP ==&lt;br /&gt;
&lt;br /&gt;
In July 2008 Microsoft [http://social.msdn.microsoft.com/forums/en-US/sqldriverforphp/thread/a10e5202-9e41-4ff8-a33e-fbcc7b951be2/ released] a new SQL Server Driver for PHP. This is a PHP extension that allows PHP scripts to read and write data on Microsoft SQL Server databases and it overcomes the problems with the native SQL Server extension that was previously bundled with PHP.&lt;br /&gt;
&lt;br /&gt;
When using [[IIS]] it is strongly recommended to use the official Microsoft PHP installer from http://php.iis.net/, it should include the latest version of necessary drivers and it also simplifies future upgrades and configuration.&lt;br /&gt;
&lt;br /&gt;
For Windows servers with [[Apache]] see http://www.microsoft.com/en-us/download/details.aspx?id=20098.&lt;br /&gt;
&lt;br /&gt;
== FreeTDS on Linux (on Ubuntu by compiling an mssql.so extension) ==&lt;br /&gt;
This is a good read to [http://www.robert-gonzalez.com/2009/02/18/building-the-php-ms-sql-server-extension-from-source-on-ubuntu-810/ building a FreeTDS based mssql extension for apache on Ubuntu]. Do note that [http://www.freetds.org/news.html freeTDS] 0.91 was recently released, you can find latest versions [http://freetds.sourceforge.net/ here]. &lt;br /&gt;
&lt;br /&gt;
Note: the freetds.conf file you use should have &amp;quot;text size = 20971520&amp;quot; as mentioned in the FreeTDS on Windows section otherwise you might see sessions logging out or worse apache segmentation faults. Also see [[FreeTDS]].&lt;br /&gt;
&lt;br /&gt;
Note2: Please note that updating php tends to remove the freetds configurations. You might need to reconfigure freetds after an upgrade&lt;br /&gt;
&lt;br /&gt;
== Using FreeTDS on Debian Lenny ==&lt;br /&gt;
I found the following solution using:&lt;br /&gt;
* PHP Version 5.2.6-1+lenny9&lt;br /&gt;
* Microsoft SQL Server Enterprise Edition, version: 9.00.4053.00&lt;br /&gt;
&amp;lt;pre&amp;gt;apt-get install libsybdb5 freetds-common php5-sybase&lt;br /&gt;
/etc/init.d/apache2 restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
At the end of the process, if all goes fine, you will find in the mssql section of phpinfo();&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MSSQL Support&lt;br /&gt;
! enabled&lt;br /&gt;
|-&lt;br /&gt;
| Library version &lt;br /&gt;
| FreeTDS &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once FreeTDS is correctly installed, don not forget to set it up following explanations in https://docs.moodle.org/en/FreeTDS&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=183987 Hardware and Performance Forum]&lt;br /&gt;
* [[Errors FAQ]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum]&lt;br /&gt;
* [[Using the Microsoft SQL Server Driver for PHP]]&lt;br /&gt;
&lt;br /&gt;
[[Category:XMLDB]]&lt;br /&gt;
[[Category:DB]]&lt;br /&gt;
[[Category:SQL databases]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Installing_MSSQL_for_PHP&amp;diff=108049</id>
		<title>Installing MSSQL for PHP</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Installing_MSSQL_for_PHP&amp;diff=108049"/>
		<updated>2013-11-29T07:35:51Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* Installation overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This short manual is suitable if you are trying to run Moodle using the SQL*Server (MSSQL) RDBMS. Steps detailed below must be performed &#039;&#039;&#039;before&#039;&#039;&#039; installing Moodle itself.&lt;br /&gt;
&lt;br /&gt;
Some of this may also apply if you wish to access an MSSQL server for external db authentication/enrollment. &lt;br /&gt;
&lt;br /&gt;
First of all, minimum required version of MSSQL has been stabilised to MSSQL 2005 (v.9).&lt;br /&gt;
&lt;br /&gt;
While PHP comes with one, more or less, standard extension (mssql) that provides access to MSSQL databases, early we found some hard limits on it. Basically such default extension has some limits that prevent us to use it at all (you can find more info about these problems [[Development:XMLDB problems#MSSQL, PHP, UTF-8 and UCS-2|here]]).&lt;br /&gt;
&lt;br /&gt;
So, in order to allow PHP (i.e. Moodle) to access to MSSQL DBs properly we have to install a &#039;&#039;&#039;mssql extension alternative&#039;&#039;&#039; to save us from the problems related above. See the sections below for details about the various options.&lt;br /&gt;
&lt;br /&gt;
== Installation overview ==&lt;br /&gt;
&lt;br /&gt;
1. Get MSSQL Server installed and running. ([http://www.microsoft.com/sql/editions/express/default.mspx A free limited version, SQL Server Express Edition] is available for testing.)&lt;br /&gt;
:Make sure that you choose mixed authentication (Windows and local accounts) to keep things simpler later.  You&#039;ll be asked to define the  &amp;quot;sa&amp;quot; account password (it&#039;s the default System Administrator account which has full access to all databases by default).&lt;br /&gt;
&lt;br /&gt;
2. Make sure MS SQL Server can accept incoming TCP/IP connections on port 1433 (the standard one).&lt;br /&gt;
:You might need to explicitly allow this in your Windows firewall (see the Control Panel).  You may also need to edit options in the :&#039;&#039;&#039;SQL Server Configuration Manager&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Network Configuration&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Protocols&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;TCP/IP enabled&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
3. Open the &amp;quot;SQL Server Management Studio&amp;quot; and create a new empty database.  If you are using the &amp;quot;sa&amp;quot; account then you don&#039;t need to do anything else here.&lt;br /&gt;
&lt;br /&gt;
4. Configure these settings in your created (and still empty) database:&lt;br /&gt;
Configure these settings in your created (and still empty) database:&lt;br /&gt;
:*Use a case sensitive collation, such as Latin1_General_CS_AS.&lt;br /&gt;
:*ANSI NULLS Enabled = true (ALTER DATABASE xxxx SET ANSI_NULLS ON)&lt;br /&gt;
:*Quoted Identifiers Enabled = true (ALTER DATABASE xxxx SET QUOTED_IDENTIFIER ON)&lt;br /&gt;
:*Row Versioning Enabled (ALTER DATABASE xxxx SET READ_COMMITTED_SNAPSHOT ON)&lt;br /&gt;
:** This is not settable via the DB properties. To set READ_COMMITTED_SNAPSHOT, there must be no active connections to the database except for the connection executing the ALTER command. If you are viewing the DB in the Server Management Studio, disconnect from any servers in the &amp;quot;Object Explorer&amp;quot; (right-click &amp;gt; Disconnect), then create a &amp;quot;New Query&amp;quot; and run the ALTER command. See http://msdn.microsoft.com/en-us/library/bb522682.aspx for details.&lt;br /&gt;
:** If your DB name starts with a number, you may need to put quotes around the DB name in the query.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Get PHP installed with a web server.   Unless you want to do it under IIS or some other way, the packages on the [http://download.moodle.org Moodle download page] are a good solution.&lt;br /&gt;
&lt;br /&gt;
6. Choose one of the following specific sections for your server to install the &#039;&#039;&#039;mssql extension alternative&#039;&#039;&#039; installed and running properly on your PHP box.&lt;br /&gt;
&lt;br /&gt;
7. Set the following settings in your php.ini file&lt;br /&gt;
:* mssql.textlimit = 20971520&lt;br /&gt;
:* mssql.textsize = 20971520&lt;br /&gt;
&lt;br /&gt;
8. With all this properly configured, you can continue with a [[Installing Moodle|standard Moodle installation]].&lt;br /&gt;
&lt;br /&gt;
== Microsoft Drivers for SQL Server for PHP ==&lt;br /&gt;
&lt;br /&gt;
In July 2008 Microsoft [http://social.msdn.microsoft.com/forums/en-US/sqldriverforphp/thread/a10e5202-9e41-4ff8-a33e-fbcc7b951be2/ released] a new SQL Server Driver for PHP. This is a PHP extension that allows PHP scripts to read and write data on Microsoft SQL Server databases and it overcomes the problems with the native SQL Server extension that was previously bundled with PHP.&lt;br /&gt;
&lt;br /&gt;
When using [[IIS]] it is strongly recommended to use the official Microsoft PHP installer from http://php.iis.net/, it should include the latest version of necessary drivers and it also simplifies future upgrades and configuration.&lt;br /&gt;
&lt;br /&gt;
For Windows servers with [[Apache]] see http://www.microsoft.com/en-us/download/details.aspx?id=20098.&lt;br /&gt;
&lt;br /&gt;
== FreeTDS on Linux (on Ubuntu by compiling an mssql.so extension) ==&lt;br /&gt;
This is a good read to [http://www.robert-gonzalez.com/2009/02/18/building-the-php-ms-sql-server-extension-from-source-on-ubuntu-810/ building a FreeTDS based mssql extension for apache on Ubuntu]. Do note that [http://www.freetds.org/news.html freeTDS] 0.91 was recently released, you can find latest versions [http://freetds.sourceforge.net/ here]. &lt;br /&gt;
&lt;br /&gt;
Note: the freetds.conf file you use should have &amp;quot;text size = 20971520&amp;quot; as mentioned in the FreeTDS on Windows section otherwise you might see sessions logging out or worse apache segmentation faults. Also see [[FreeTDS]].&lt;br /&gt;
&lt;br /&gt;
Note2: Please note that updating php tends to remove the freetds configurations. You might need to reconfigure freetds after an upgrade&lt;br /&gt;
&lt;br /&gt;
== Using FreeTDS on Debian Lenny ==&lt;br /&gt;
I found the following solution using:&lt;br /&gt;
* PHP Version 5.2.6-1+lenny9&lt;br /&gt;
* Microsoft SQL Server Enterprise Edition, version: 9.00.4053.00&lt;br /&gt;
&amp;lt;pre&amp;gt;apt-get install libsybdb5 freetds-common php5-sybase&lt;br /&gt;
/etc/init.d/apache2 restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
At the end of the process, if all goes fine, you will find in the mssql section of phpinfo();&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MSSQL Support&lt;br /&gt;
! enabled&lt;br /&gt;
|-&lt;br /&gt;
| Library version &lt;br /&gt;
| FreeTDS &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once FreeTDS is correctly installed, don not forget to set it up following explanations in https://docs.moodle.org/en/FreeTDS&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=183987 Hardware and Performance Forum]&lt;br /&gt;
* [[Errors FAQ]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum]&lt;br /&gt;
* [[Using the Microsoft SQL Server Driver for PHP]]&lt;br /&gt;
&lt;br /&gt;
[[Category:XMLDB]]&lt;br /&gt;
[[Category:DB]]&lt;br /&gt;
[[Category:SQL databases]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108037</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108037"/>
		<updated>2013-11-27T09:29:57Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679] - on 64bit Windows install both x86 and x64&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108036</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108036"/>
		<updated>2013-11-27T09:28:03Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/] (you may also try the Non Thread Safe version)&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108035</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108035"/>
		<updated>2013-11-27T08:54:17Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108034</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108034"/>
		<updated>2013-11-27T08:53:35Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
Warning: PHP needs to be configured via FastCGI, older CGI interface is known to have problems with some file names.&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108033</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108033"/>
		<updated>2013-11-27T08:40:23Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS configuration steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Setup URL rewriting described below&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108032</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108032"/>
		<updated>2013-11-27T08:37:20Z</updated>

		<summary type="html">&lt;p&gt;Skodak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache. Windows OS is not suitable for large installations because PHP is limited to 32bit even in 64bit Windows, please consider using Linux or other unix-like operating systems instead.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Either apply the UTF-8 fix described below or setup URL rewriting&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108031</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108031"/>
		<updated>2013-11-27T08:35:42Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP configuration steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set your timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Either apply the UTF-8 fix described below or setup URL rewriting&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108030</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108030"/>
		<updated>2013-11-27T08:31:55Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP configuration steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set default timezone in PHP.ini&lt;br /&gt;
# Set appropriate memory limits in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Either apply the UTF-8 fix described below or setup URL rewriting&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108029</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108029"/>
		<updated>2013-11-27T08:12:38Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS configuration steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set default timezone in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Either apply the UTF-8 fix described below or setup URL rewriting&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108028</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108028"/>
		<updated>2013-11-27T07:59:18Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS installation in Windows 7 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation steps (Windows 7)==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set default timezone in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Execute as Windows administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108027</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108027"/>
		<updated>2013-11-27T07:58:01Z</updated>

		<summary type="html">&lt;p&gt;Skodak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation steps==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set default timezone in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration steps==&lt;br /&gt;
&lt;br /&gt;
# Execute as Windows administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108026</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108026"/>
		<updated>2013-11-27T07:57:19Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
# Set default timezone in PHP.ini&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# Execute as Windows administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108025</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108025"/>
		<updated>2013-11-27T07:56:07Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# Execute as Windows administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeout - 1 hour or better more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108024</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108024"/>
		<updated>2013-11-27T07:55:30Z</updated>

		<summary type="html">&lt;p&gt;Skodak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# Execute as Windows administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeouts - 1 hour or even more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==More configuration hints==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108023</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108023"/>
		<updated>2013-11-27T07:52:24Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# Execute as Windows administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure IIS to show detailed error pages.&lt;br /&gt;
# Set very long CGI timeouts - 1 hour or even more.&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108022</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108022"/>
		<updated>2013-11-27T07:41:47Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# In IIS Manager add Moodle dirroot directory as a new virtual directory or set it as site directory&lt;br /&gt;
# Execute as administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# disable IIS error pages&lt;br /&gt;
# set very long CGI timeouts&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108021</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108021"/>
		<updated>2013-11-27T07:22:44Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Manually download [http://phpmanager.codeplex.com PHP manager for IIS] or use the [http://www.microsoft.com/web/downloads/platform.aspx Miscrosoft Web Platform installer] and install it&lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# Execute as administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# disable IIS error pages&lt;br /&gt;
# set very long CGI timeouts&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108020</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108020"/>
		<updated>2013-11-27T07:20:49Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS installation in Windows 7 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
# Install [http://www.microsoft.com/web/downloads/platform.aspx Microsoft Web Platform installer]&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# Execute as administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# disable IIS error pages&lt;br /&gt;
# set very long CGI timeouts&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108019</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108019"/>
		<updated>2013-11-27T06:21:39Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable required extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
# Enable [[OPcache]] extension&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# Execute as administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# disable IIS error pages&lt;br /&gt;
# set very long CGI timeouts&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108018</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108018"/>
		<updated>2013-11-27T04:52:51Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable following extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# Execute as administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# disable IIS error pages&lt;br /&gt;
# set very long CGI timeouts&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108017</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108017"/>
		<updated>2013-11-27T04:52:26Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable following extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# Execute as administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# disable IIS error pages&lt;br /&gt;
# set very long CLI timeouts&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108016</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108016"/>
		<updated>2013-11-27T04:51:32Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* IIS configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable following extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# Execute as administrator:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
# disable IIS error pages&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108015</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108015"/>
		<updated>2013-11-27T04:50:01Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable following extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==IIS configuration==&lt;br /&gt;
&lt;br /&gt;
# disable IIS error pages&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108014</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108014"/>
		<updated>2013-11-27T04:47:04Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64] - on 64bit Windows install both versions&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable following extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108013</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108013"/>
		<updated>2013-11-27T04:37:50Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679 x86 or x64]&lt;br /&gt;
# Install the Visual C++ Redistributable for Visual Studio 2010 x86] or [http://www.microsoft.com/en-us/download/details.aspx?id=13523 [http://www.microsoft.com/en-us/download/details.aspx?id=8328 x64]&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable following extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108012</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108012"/>
		<updated>2013-11-27T04:32:06Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Install the [http://www.microsoft.com/en-us/download/details.aspx?id=30679 Visual C++ Redistributable for Visual Studio 2012 x86 or x64]&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable following extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108011</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108011"/>
		<updated>2013-11-27T04:19:39Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==PHP configuration==&lt;br /&gt;
&lt;br /&gt;
# Enable following extensions in the PHP manager: php_intl.dll, php_pgsql.dll&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108010</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108010"/>
		<updated>2013-11-27T04:12:39Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php-cgi.exe&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108009</id>
		<title>Internet Information Services</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/37/en/index.php?title=Internet_Information_Services&amp;diff=108009"/>
		<updated>2013-11-27T04:12:20Z</updated>

		<summary type="html">&lt;p&gt;Skodak: /* PHP installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}[[Internet Information Services]] (&#039;&#039;&#039;IIS&#039;&#039;&#039;) is the web server software bundled with Windows Server, as well as certain client versions of Windows. Please note Apache web server has much better community support and there are usually fewer problems when running Moodle on Apache.&lt;br /&gt;
&lt;br /&gt;
==IIS installation in Windows 7==&lt;br /&gt;
&lt;br /&gt;
# Go to Control panel, click on Programs and Turn Windows features on or off&lt;br /&gt;
# Tick &amp;quot;Internet Information Services&amp;quot; and &amp;quot;Internet Information Services / Application Development Features / CGI&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==PHP installation==&lt;br /&gt;
&lt;br /&gt;
It is strongly recommended to use only the official MS Platform installer, it automatically installs all necessary components and facilitates easy configuration with PHP manager. Manual installation attempts often fail or may not allow Moodle to function properly. Unfortunately MS does not distribute up-to-date version of PHP, you need to download them manually.&lt;br /&gt;
&lt;br /&gt;
# Download and install [http://phpmanager.codeplex.com PHP manager for IIS] or use the &lt;br /&gt;
# Download latest PHP 5.5.x VC11 x86 Non Thread Safe from [http://windows.php.net/download/ http://windows.php.net/download/]&lt;br /&gt;
# Extract the Zip file to a directory such as C:\PHP\&lt;br /&gt;
# Open the Internet Information Service (IIS) Manager - right click on This computer and select Manage&lt;br /&gt;
# Click on PHP Manager icon&lt;br /&gt;
# Register new PHP version - select C:\PHP\php/cgi.exe&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
===Slasharguments===&lt;br /&gt;
&lt;br /&gt;
IIS 7 should support relative path arguments by default, if it does not work try enabling following in your php.ini&lt;br /&gt;
&lt;br /&gt;
 cgi.fix_pathinfo = 1&lt;br /&gt;
&lt;br /&gt;
===Fix UTF-8 file names===&lt;br /&gt;
&lt;br /&gt;
By default IIS is unable to handle unicode characters in files uploaded into Moodle.&lt;br /&gt;
&lt;br /&gt;
See http://support.microsoft.com/kb/2277918.&lt;br /&gt;
&lt;br /&gt;
Execute:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URL rewriting workaround===&lt;br /&gt;
If you can not modify registry as described above you may try manual configuration of rewrite rules, the PHP installation via &#039;&#039;Microsoft Web Platform Installer&#039;&#039; installs necessary &#039;&#039;URL Rewrite 2.0&#039;&#039; module.&lt;br /&gt;
&lt;br /&gt;
[[File:Rewrite_rule_-_Internet_Information_Services_(IIS)_Manager.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add following rewrite rule to enable support for unicode file names in Moodle and to work around internal file length limitation breaking YUI file serving:&lt;br /&gt;
&lt;br /&gt;
* Matches the Pattern - Regular Expressions - &amp;lt;code&amp;gt;^([^\?]+?\.php)(\/.+)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* Action - Rewrite - &amp;lt;code&amp;gt;{R:1}\?file={R:2}&amp;lt;/code&amp;gt;&lt;br /&gt;
* Append query string - enabled&lt;br /&gt;
* Stop processing of subsequent rules - enabled&lt;br /&gt;
&lt;br /&gt;
===CGI timeouts===&lt;br /&gt;
&lt;br /&gt;
By default IIS is configured to stop execution of any PHP script after 5 minutes of activity, this interferes with long running Moodle scripts such as upgrade or cron. The timeout should be increased to at least one hour.&lt;br /&gt;
&lt;br /&gt;
==Directory permissions==&lt;br /&gt;
&lt;br /&gt;
The default IIS account is &#039;&#039;IIS_IUSRS&#039;&#039;, make sure it has appropriate access right to Moodle dirroot (read only) and dataroot (read/write) directories.&lt;br /&gt;
&lt;br /&gt;
==Debugging problems==&lt;br /&gt;
&lt;br /&gt;
By default, IIS contains custom error pages that intentionally hide error details on production sites. When diagnosing problems you may want to disable temporarily the IIS Error Pages so you can see Moodle specific error messages, alongside enabling debugging in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Development&amp;gt;Debugging&#039;&#039;. This [http://blogs.iis.net/kehand/archive/2009/08/09/php-and-custom-error-pages.aspx blog post about IIS error messages] explains how to get more useful error messages when using IIS.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [http://www.iis.net  The Official Microsoft IIS Site]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]&lt;br /&gt;
* [http://php.iis.net/ PHP installer for IIS]&lt;br /&gt;
&lt;br /&gt;
[[ja:IIS]]&lt;/div&gt;</summary>
		<author><name>Skodak</name></author>
	</entry>
</feed>