php-config5(1)

php-config51

Get information about php configuration and compile options

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

--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

--version

PHP version

--vernum

PHP version as integer

Version information

This manpage describes php, version 5.6.33-0+deb8u1.

Releases

5 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8

--configure-options since Debian 5.0 (Lenny); --man-dir since Debian 7 (Wheezy); --php-sapis since Debian 5.0 (Lenny).

From php5-dev 5.6.33+dfsg-0+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.