internals:windows:stepbystepbuild_sdk_2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
internals:windows:stepbystepbuild_sdk_2 [2021/08/06 15:23] – note about updating VS; see https://bugs.php.net/81337 cmb | internals:windows:stepbystepbuild_sdk_2 [2021/11/08 14:56] – document Windows phpize builds cmb | ||
---|---|---|---|
Line 137: | Line 137: | ||
At this point, your compiled extension will be located in the release directory. | At this point, your compiled extension will be located in the release directory. | ||
+ | |||
+ | ==== Building PECL extensions with phpize ==== | ||
+ | |||
+ | Alternatively to the " | ||
+ | |||
+ | - Download and unpack the development package which corresponds to your pre-built PHP version and variant from https:// | ||
+ | - Download and unpack the source of the PECL extension | ||
+ | - Invoke the starter script to automatically setup the environment for the desired build config, e.g. '' | ||
+ | - Add the development package folder and the PHP folder to the '' | ||
+ | - Enter the source folder of the PECL extension | ||
+ | - Run '' | ||
+ | - Run '' | ||
+ | * the most important option is the one which enables the extension to be built (e.g. '' | ||
+ | * another important options is '' | ||
+ | * if the extension depends on C libraries, you need to download these and put them either in the '' | ||
+ | * there may be further interesting configuration options, e.g. those which allows to configure details of the extension to be built | ||
+ | - Run '' | ||
+ | - Run '' | ||
+ | - After successful compilation, | ||
+ | - If the extension has a PHPT test suite, run '' | ||
+ | |||
+ | If you want to build your extension via Github Actions, consider to use https:// | ||
==== Release directories ==== | ==== Release directories ==== |
internals/windows/stepbystepbuild_sdk_2.txt · Last modified: 2022/01/10 09:43 by cmb