php-config

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

When the extensions are being compiled, if multiple PHP versions are installed, the installation for which to build can be specified by using the --with-php-config option during configuration, setting the path of the respective php-config script.

The list of command line options provided by the php-config script can be queried anytime by running php-config with the -h switch:

Usage: /usr/local/bin/php-config [OPTION]
Options:
  --prefix            [...]
  --includes          [...]
  --ldflags           [...]
  --libs              [...]
  --extension-dir     [...]
  --include-dir       [...]
  --php-binary        [...]
  --php-sapis         [...]
  --configure-options [...]
  --version           [...]
  --vernum            [...]

Command line options
Option Description
--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
--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

add a note add a note

User Contributed Notes 1 note

up
-1
nsx266 at gmail dot com
7 years ago
Professional zec bitcoin graphics card mining team, earning 100$ is not a dream, intends to contact WeChat yiviyj, or basic_note, or call +86 15652000725

----

Acquisition of firearms / potassium chloride , intentional contact + 86 15652000725 or contact my mailbox

-----

专业显卡挖矿团队,日赚100RMB不是梦,有意联系微信yiviyj,或basic_note,或电话+86 15652000725

------

收购枪支/氯化钾,有意联系+86 15652000725 或邮箱
To Top