|
Installing from source on Unix and macOS systemsPrerequisite software for compiling:
When building directly from Git sources or after custom modifications, these additional tools may be necessary:
For more detailed steps for compiling PHP from source, see the » README.md file in the source tarball. The initial PHP setup and configuration process is controlled by the use of the command line options of the configure script. A list of available options along with short explanations can be shown by running ./configure --help. This manual documents the different options separately. The core options can be found in the appendix, while the different extension specific options are described on the reference pages. After the configuration script was been run, PHP can be built using the make command. The Installation section of the frequently asked questions has further information about how to handle build problems.
|