internals:windows:stepbystepbuild_sdk_2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
internals:windows:stepbystepbuild_sdk_2 [2018/12/29 18:56] – ab | internals:windows:stepbystepbuild_sdk_2 [2019/06/06 11:14] – Explain vc->vs naming change cmb | ||
---|---|---|---|
Line 18: | Line 18: | ||
* Visual C++ 14.0 (Visual Studio 2015) for **PHP 7.0** or **PHP 7.1**. | * Visual C++ 14.0 (Visual Studio 2015) for **PHP 7.0** or **PHP 7.1**. | ||
* Visual C++ 15.0 (Visual Studio 2017) for **PHP 7.2** or **PHP 7.3**. | * Visual C++ 15.0 (Visual Studio 2017) for **PHP 7.2** or **PHP 7.3**. | ||
+ | * Visual C++ 16.0 (Visual Studio 2019) for **PHP 7.4**. | ||
+ | |||
+ | In filenames (and the '' | ||
==== Setup ==== | ==== Setup ==== | ||
Line 28: | Line 31: | ||
* If compiling **PHP 7.2+**: | * If compiling **PHP 7.2+**: | ||
* Install Visual Studio 2017 | * Install Visual Studio 2017 | ||
+ | * If compiling **PHP 7.4+**: | ||
+ | * Install Visual Studio 2019 | ||
* Optional tools | * Optional tools | ||
Line 42: | Line 47: | ||
* PHP_SDK_PHP_CMD - integrated PHP binary wrapper script | * PHP_SDK_PHP_CMD - integrated PHP binary wrapper script | ||
* PHP_SDK_ROOT_PATH - the path to the PHP SDK root directory | * PHP_SDK_ROOT_PATH - the path to the PHP SDK root directory | ||
- | * PHP_SDK_VC | + | * PHP_SDK_VS |
* several other less relevant vars are available, that can be viewed by the '' | * several other less relevant vars are available, that can be viewed by the '' | ||
Line 77: | Line 82: | ||
- Run the '' | - Run the '' | ||
- The '' | - The '' | ||
- | - Extract the PHP source code to '' | + | - Extract the PHP source code to '' |
- | * '' | + | * '' |
* '' | * '' | ||
* For example: '' | * For example: '' | ||
Line 96: | Line 101: | ||
- To build PHP, run: <code bash> | - To build PHP, run: <code bash> | ||
- If you want the resulting PHP builds and extensions to be zipped, after ' | - If you want the resulting PHP builds and extensions to be zipped, after ' | ||
- | - The compiled PHP is now under " | + | - The compiled PHP is now under " |
- | * If you compiled with " | + | * If you compiled with " |
==== Recompile after you have done some changes ==== | ==== Recompile after you have done some changes ==== |
internals/windows/stepbystepbuild_sdk_2.txt · Last modified: 2022/01/10 09:43 by cmb