.TH php\-config 1 "2021" "The PHP Group" "Scripting Language" .SH NAME php\-config \- get information about PHP configuration and compile options .SH SYNOPSIS .B php\-config [options] .LP .SH DESCRIPTION .B php\-config is a simple shell script for obtaining information about installed PHP configuration. .SH OPTIONS .TP 15 .PD 0 .B \-\-prefix Directory prefix where PHP is installed, e.g. /usr/local .TP .PD 0 .B \-\-includes List of \-I options with all include files .TP .PD 0 .B \-\-ldflags LD Flags which PHP was compiled with .TP .PD 0 .B \-\-libs Extra libraries which PHP was compiled with .TP .PD 0 .B \-\-man-dir The directory prefix where the manpages is installed .TP .PD 0 .B \-\-extension-dir Directory where extensions are searched by default .TP .PD 0 .B \-\-include-dir Directory prefix where header files are installed by default .TP .PD 0 .B \-\-php-binary Full path to php CLI or CGI binary .TP .PD 0 .B \-\-php-sapis Show all SAPI modules available .TP .PD 0 .B \-\-configure-options Configure options to recreate configuration of current PHP installation .TP .PD 0 .B \-\-version PHP version .TP .PD 0 .B \-\-vernum PHP version as integer .RS .PD 1 .P .SH SEE ALSO .BR php (1) .SH VERSION INFORMATION This manpage describes \fBphp\fP, version 7.4.32. .SH COPYRIGHT Copyright \(co The PHP Group .LP This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available through the world-wide-web at the following url: .PD 0 .P .B http://www.php.net/license/3_01.txt .PD 1 .P If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to .B license@php.net so we can mail you a copy immediately.