php-config.default(1)

php-config.default1

Get information about php configuration and compile options

Part of php-config8.4(1).

Usage

php-config [options]

Overview

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

--lib-dir

Directory where libraries are installed by default

--lib-embed

PHP embed library name

--php-binary

Full path to php CLI or CGI binary

--php-sapis

Show all SAPI modules installed on the Debian system

--configure-options

Configure options to recreate configuration of current PHP installation

--ini-path

Directory from which PHP reads its INI configuration file (php.ini)

--ini-dir

Directory from which PHP scans for additional INI configuration files

--version

PHP version

--vernum

PHP version as integer

Version information

This manpage describes php, version 8.4.24.

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

--ini-dir since Debian 13 (Trixie); --ini-path since Debian 13 (Trixie); --lib-dir since Debian 13 (Trixie); --lib-embed since Debian 13 (Trixie).

From php-dev 2:8.4+96 in Debian 13 (Trixie). Parsed by carta from the page's man source.