-
--enable-debug
-
Compile with debugging symbols.
-
--with-layout=TYPE
-
Sets how installed files will be laid out. Type is one of PHP (default)
or GNU. Note that if installing manpages under PREFIX (default), choose the
GNU style in order for them to be found in the search path of manpath utility.
-
--with-pear=DIR
-
Install PEAR in DIR (default PREFIX/lib/php).
-
--without-pear
-
Do not install PEAR.
-
--enable-zend-max-execution-timers
-
Use POSIX per-thread timers for
max_execution_time
tracking instead of the process-wide
setitimer(). These timers measure elapsed time
(CLOCK_BOOTTIME, or
CLOCK_MONOTONIC on FreeBSD), whereas the default
setitimer(ITIMER_PROF) measures CPU time, so time
spent sleeping or waiting on I/O counts towards the limit.
Requires timer_create() support: available on
Linux, and on FreeBSD as of PHP 8.4.0.
Available since PHP 8.1.0. Enabled by default for ZTS builds since
PHP 8.3.0.
-
--enable-sigchild
-
Enable PHP's own SIGCHLD handler.
-
--disable-rpath
-
Disable passing additional runtime library search paths.
-
--enable-libgcc
-
Enable explicitly linking against libgcc.
-
--enable-php-streams
-
Include experimental PHP streams. Do not use unless you are testing the
code!
-
--with-zlib-dir[=DIR]
-
Define the location of zlib install directory.
-
--with-tsrm-pthreads
-
Use POSIX threads (default).
-
--enable-shared[=PKGS]
-
Build shared libraries [default=yes].
-
--enable-static[=PKGS]
-
Build static libraries [default=yes].
-
--enable-fast-install[=PKGS]
-
Optimize for fast installation [default=yes].
-
--with-gnu-ld
-
Assume the C compiler uses GNU ld [default=no].
-
--disable-libtool-lock
-
Avoid locking (might break parallel builds).
-
--with-pic
-
Try to use only PIC/non-PIC objects [default=use both].
-
--enable-versioning
-
Export only required symbols.
See INSTALL for more information.