xref: /PHP-7.2/scripts/man1/php-config.1.in (revision fbfdd1e1)
@program_prefix@php-config 1 "2018" "The PHP Group" "Scripting Language"
NAME
@program_prefix@php-config - get information about PHP configuration and compile options
SYNOPSIS
@program_prefix@php-config [options]

DESCRIPTION
@program_prefix@php-config is a simple shell script for obtaining information about installed PHP configuration.
OPTIONS

15

0 --prefix Directory prefix where PHP is installed, e.g. /usr/local

0 --includes List of -I options with all include files

0 --ldflags LD Flags which PHP was compiled with

0 --libs Extra libraries which PHP was compiled with

0 --man-dir The directory prefix where the manpages is installed

0 --extension-dir Directory where extensions are searched by default

0 --include-dir Directory prefix where header files are installed by default

0 --php-binary Full path to php CLI or CGI binary

0 --php-sapis Show all SAPI modules available

0 --configure-options Configure options to recreate configuration of current PHP installation

0 --version PHP version

0 --vernum PHP version as integer

1

SEE ALSO
@program_prefix@php (1)
VERSION INFORMATION
This manpage describes php, version @PHP_VERSION@.
COPYRIGHT
Copyright \(co 1997-2018 The PHP Group

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:

0

http://www.php.net/license/3_01.txt

1

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 license@php.net so we can mail you a copy immediately.