Section 1 · User commands

php-config.1

Package: php-devel

php−config

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
VERSION INFORMATION
COPYRIGHT


NAME

php−config − get information about PHP configuration and compile options

SYNOPSIS

php−config [options]

DESCRIPTION

php−config is a simple shell script for obtaining information about installed PHP configuration.

OPTIONS

−−prefixDirectory prefix where PHP is installed, e.g. /usr/local
−−includesList of −I options with all include files
−−ldflagsLD Flags which PHP was compiled with
−−libsExtra libraries which PHP was compiled with
−−man-dirThe directory prefix where the manpages is installed

−−extension-dir

Directory where extensions are searched by default

−−include-dirDirectory prefix where header files are installed by default
−−php-binaryFull path to php CLI or CGI binary
−−php-sapisShow all SAPI modules available

−−configure-options

Configure options to recreate configuration of current PHP installation

−−versionPHP version
−−vernumPHP version as integer

SEE ALSO

php(1)

VERSION INFORMATION

This manpage describes php, version 8.3.19.

Copyright © 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: **
https://www.php.net/license/3_01.txt**

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.