php-config - Man Page

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

--prefix

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

--includes

List of -I options with all include files

--ldflags

LD Flags which PHP was compiled with

--libs

Extra libraries which PHP was compiled with

--man-dir

The directory prefix where the manpages is installed

--extension-dir

Directory where extensions are searched by default

--include-dir

Directory prefix where header files are installed by default

--php-binary

Full path to php CLI or CGI binary

--php-sapis

Show all SAPI modules available

--configure-options

Configure options to recreate configuration of current PHP installation

--version

PHP version

--vernum

PHP version as integer

See Also

php(1)

Version Information

This manpage describes php, version 8.3.6.

Info

2024 The PHP Group Scripting Language