You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: faq/obtaining.xml
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -192,9 +192,8 @@
192
192
</question>
193
193
<answer>
194
194
<para>
195
-
See the manual section about
196
-
<linklinkend="install.windows.building">building PHP from
197
-
source on Windows</link>.
195
+
See the PHP Wiki for the latest instructions: <linkxlink:href="https://wiki.php.net/internals/windows/stepbystepbuild">Step by Step Build Instructions</link>
PHP installs on the <linkxlink:href="&url.cloud.azure;">Azure cloud platform</link>.
6
+
PHP is frequently used on Azure App Services (aka Microsoft Azure, Windows Azure, Azure Web Apps).
7
7
</para>
8
-
<para>
9
-
See also the <linkxlink:href="&url.cloud.azure.sdk;">Azure SDK for PHP</link>.
8
+
<para>Azure App Services manages pools of Windows Web Servers to host your web application, as an alternative to managing your own web server on your own Azure Compute VMs or other servers.
9
+
</para>
10
+
<para>PHP is already enabled for your Azure App Services web site automatically. In the Azure Portal, select your web site, and you can choose which version of PHP to use. You may want to choose a newer version than the default.
11
+
</para>
12
+
13
+
<para>As such, PHP and extensions will run on Azure App Services just as it will on other Windows servers.
14
+
15
+
Much of the knowledgebase is also portable, so see the <!--<link linkend="install.windows.troubleshooting">Windows Troubleshooting Page</link> too.-->
16
+
17
+
However, the management interface for Azure App Services is different:
18
+
</para>
19
+
20
+
<para>Azure portal: create, edit settings and delete web sites. <linkxlink:href="https://portal.azure.com/">Azure Portal</link>
21
+
</para>
22
+
<para>Kudu Dashboard: [your web site name].azurewebsites.net Then, the Kudu dashboard is https://[your web site name].scm.azurewebsites.net/. The Dashboard gives you access to some debugging capabilities, file management and site extensions. Site extensions are an Azure mechanism to add extra programs, like PHP preview builds, to your web site.
23
+
</para>
24
+
25
+
<para>You can not use IIS Manager, Server Manager, or RDP.</para>
26
+
27
+
<para>There is also a PHP SDK for programmatically using many Azure Services from your PHP code. See <linkxlink:href="https://github.com/Azure/azure-sdk-for-php">Azure SDK for PHP</link>.
28
+
</para>
29
+
30
+
<sect2>
31
+
<title>WinCache</title>
32
+
<para>WinCache is enabled by default on Azure App Services and it is recommended that you leave it enabled.
33
+
34
+
If you install your own build of PHP, you should enable WinCache on that too.
35
+
</para>
36
+
</sect2>
37
+
38
+
<sect2>
39
+
<title>Custom PHP Build</title>
40
+
<para>You may upload your own PHP build to your D:\Home (C:\ is NOT writable). Then in the Azure Portal, set SCRIPT_PROCESSOR for .php to the absolute path to php-cgi.exe file in your build.
Once you have PHP installed on your Windows system, you may also
32
-
want to <linklinkend="install.windows.extensions">load various extensions</link>
33
-
for added functionality.
34
-
</para>
35
-
36
-
&install.windows.legacy.manual;
37
-
&install.windows.legacy.iis;
38
-
&install.windows.legacy.iis6;
39
-
&install.windows.legacy.iis7;
40
-
&install.windows.legacy.apache1;
41
-
&install.windows.legacy.apache2;
42
-
&install.windows.legacy.sun;
43
-
&install.windows.legacy.sambar;
44
-
&install.windows.legacy.xitami;
45
-
&install.windows.legacy.building;
46
-
&install.windows.legacy.extensions;
47
-
&install.windows.legacy.commandline;
48
-
</chapter>
9
+
<para>
10
+
11
+
If you are looking for information about older systems, such as Windows XP, 2003, 98 or Apache 1.x, see the <linklinkend="install.windows.legacy.index">Legacy Info</link> section.
12
+
</para>
13
+
</note>
14
+
15
+
<para>
16
+
The Official releases of PHP on Windows are recommended for production use.
17
+
However, you are welcome to build PHP from Source. You will need a Visual Studio environment. See <linkxlink:href="https://wiki.php.net/internals/windows/stepbystepbuild">Step by Step Build Instructions</link>.
18
+
</para>
19
+
<para>
20
+
<linklinkend="install.windows.legacy.commandline">Using PHP on Windows Command line</link>
21
+
22
+
<!--&install.windows.manual;-->
23
+
24
+
<linklinkend="install.cloud.azure">Installing PHP on Azure App Services</link> (aka Microsoft Azure, Windows Azure, or (Windows) Azure Web Apps).
25
+
</para>
26
+
27
+
28
+
<sect1>
29
+
<title>Install Requirements</title>
30
+
31
+
<para>PHP 5.5+ require at least Windows 2008/Vista, or 2008r2, 2012, 2012r2, 2016 or 7, 8, 8.1, 10. Either 32-Bit or 64-bit (aka X86 or X64. PHP does not run on Windows RT/WOA/ARM).</para>
32
+
33
+
<para>PHP requires the Visual C runtime(CRT). Many applications require that so it may already be installed.
You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds.
40
+
41
+
If CRT is already installed, the installer will tell you that and not change anything.
42
+
43
+
The CRT installer supports the /quiet and /norestart command-line switches, so you can script running it.
44
+
45
+
VC11 CRT DLLs can be copied from your local machine to a remote machine(a `Copy Deployment` installation) instead of running the installer on the remote machine (such as a web server you have restricted access to). See: http://www.sitepoint.com/install-php53-windows/
46
+
47
+
VC14 CRT does not support a `Copy Deployment` installation. VC14 CRT has many more DLLs(most in files with names starting with api-*). If you can find them all and copy them, it will also work (try a tool like Resource Hacker to get a list of all the DLLs to copy).
48
+
49
+
</para>
50
+
51
+
</sect1>
52
+
53
+
<sect1>
54
+
<title>PECL</title>
55
+
56
+
<para>PECL extensions are pre-built for Windows and available from: <linkxlink:href="http://windows.php.net/downloads/pecl/releases/">http://windows.php.net/downloads/pecl/releases/</link>
57
+
</para>
58
+
59
+
<para>Some extensions use features specific to some Unix systems and so are not available on Windows. Otherwise, all extensions are available for Windows.
60
+
</para>
61
+
</sect1>
62
+
63
+
49
64
65
+
<!-- Critical: ensure all pages in install/windows and that install/windows/legacy/index are referenced here!
66
+
otherwise you will get IDREF attribute errors for all links -->
0 commit comments