This commit is contained in:
Kévin Dunglas
2024-10-15 11:14:30 +02:00
parent ec584bf704
commit f94d9bb58a
7 changed files with 42 additions and 3 deletions

View File

@@ -304,7 +304,8 @@ You can try to use the following commands:
- `--enable-zts`: Make compiled PHP thread-safe version (default is NTS version)
- `--no-strip`: Do not run `strip` after compiling the PHP library to trim the binary file to reduce its size (the macOS binary file without trim can use dynamically linked third-party extensions)
- `--with-libs=XXX,YYY`: Compile the specified dependent library before compiling PHP, and activate some extended optional functions (such as libavif of the gd library, etc.)
- `--with-config-file-path=XXX`: Set the path in which to look for php.ini
- `--with-config-file-path=XXX`: Set the path in which to look for `php.ini` (defaults to `/usr/local/etc/php` on Linux, macOS and FreeBSD)
- `--with-config-file-scan-dir=XXX`: Set the directory to scan for `.ini` files after reading `php.ini` (defaults to `/usr/local/etc/php/conf.d` on Linux, macOS and FreeBSD)
- `-I xxx=yyy`: Hard compile INI options into PHP before compiling (support multiple options, alias is `--with-hardcoded-ini`)
- `--with-micro-fake-cli`: When compiling micro, let micro's `PHP_SAPI` pretend to be `cli` (for compatibility with some programs that check `PHP_SAPI`)
- `--disable-opcache-jit`: Disable opcache jit (enabled by default)