1php-config(1) Scripting Language php-config(1)
2
3
4
6 php-config - get information about PHP configuration and compile op‐
7 tions
8
10 php-config [options]
11
13 php-config is a simple shell script for obtaining information about in‐
14 stalled PHP configuration.
15
17 --prefix Directory prefix where PHP is installed, e.g. /usr/local
18 --includes List of -I options with all include files
19 --ldflags LD Flags which PHP was compiled with
20 --libs Extra libraries which PHP was compiled with
21 --man-dir The directory prefix where the manpages is installed
22 --extension-dir
23 Directory where extensions are searched by default
24 --include-dir Directory prefix where header files are installed by de‐
25 fault
26 --php-binary Full path to php CLI or CGI binary
27 --php-sapis Show all SAPI modules available
28 --configure-options
29 Configure options to recreate configuration of current
30 PHP installation
31 --version PHP version
32 --vernum PHP version as integer
33
35 php(1)
36
38 This manpage describes php, version 8.2.13.
39
41 Copyright © The PHP Group
42
43 This source file is subject to version 3.01 of the PHP license, that is
44 bundled with this package in the file LICENSE, and is available through
45 the world-wide-web at the following url:
46 https://www.php.net/license/3_01.txt
47
48 If you did not receive a copy of the PHP license and are unable to ob‐
49 tain it through the world-wide-web, please send a note to li‐
50 cense@php.net so we can mail you a copy immediately.
51
52
53
54The PHP Group 2022 php-config(1)