internals:windows:stepbystepbuild

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
internals:windows:stepbystepbuild [2015/07/12 09:35] – Restructured the document to be more readable, added PHP 7 related instructions ihabunekinternals:windows:stepbystepbuild [2019/11/15 21:57] (current) nikic
Line 1: Line 1:
 ====== Build your own PHP on Windows ====== ====== Build your own PHP on Windows ======
 +
 +> **This tutorial concerns building PHP before 7.2. To build PHP 7.2+, please refer to the [[internals:windows:stepbystepbuild_sdk_2|newer documentation]].**
  
 ===== Before you Begin ===== ===== Before you Begin =====
Line 26: Line 28:
     * Install [[http://www.microsoft.com/en-us/download/details.aspx?id=11310|Windows SDK 6.1]]     * Install [[http://www.microsoft.com/en-us/download/details.aspx?id=11310|Windows SDK 6.1]]
   * If compiling **PHP 5.5 or 5.6**:   * If compiling **PHP 5.5 or 5.6**:
-    * Install Visual Studio 2012. If using the express version, install "[[https://www.microsoft.com/en-us/download/details.aspx?id=34673|Visual Studio 2012 Express for Windows Desktop]]"+    * Install Visual Studio 2012. If using the express version, install "[[https://www.visualstudio.com/de/vs/older-downloads/|Visual Studio 2012 Express for Windows Desktop]]"
   * If compiling **PHP 7.0+**:   * If compiling **PHP 7.0+**:
     * Install Visual Studio 2015     * Install Visual Studio 2015
Line 36: Line 38:
     * If compiling **PHP 5.4**, open the **"Windows SDK 6.1 shell"** and execute the following command in it: <code bash>setenv /x86 /xp /release</code>     * If compiling **PHP 5.4**, open the **"Windows SDK 6.1 shell"** and execute the following command in it: <code bash>setenv /x86 /xp /release</code>
     * If compiling **PHP 5.5 or 5.6** open the **"VS2012 x86 Native Tools Command Prompt"**     * If compiling **PHP 5.5 or 5.6** open the **"VS2012 x86 Native Tools Command Prompt"**
-    * If compiling **PHP 7.0+** open the **"Developer Command Prompt for VS2015"**+    * If compiling **PHP 7.0+** open either the **"VS2015 x64 Native Tools Command Prompt"** or the **"VS2015 x86 Native Tools Command Prompt"**.
  
 All commands in the rest of this document should be run in the appropriate command prompt. All commands in the rest of this document should be run in the appropriate command prompt.
internals/windows/stepbystepbuild.1436693701.txt.gz · Last modified: 2017/09/22 13:28 (external edit)