1php-config(1) Scripting Language php-config(1)
2
3
4
6 php-config - get information about PHP configuration and compile
7 options
8
10 php-config [options]
11
13 php-config is a simple shell script for obtaining information about
14 installed 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 --extension-dir
22 Directory where extensions are searched by default
23 --include-dir Directory prefix where header files are installed by
24 default
25 --php-binary Full path to php CLI or CGI binary
26 --php-sapis Show all SAPI modules available
27 --configure-options
28 Configure options to recreate configuration of current
29 PHP installation
30 --version PHP version
31 --vernum PHP version as integer
32
33 SEE ALSO
34 php(1)
35
37 This manpage describes php, version 5.3.3.
38
40 Copyright © 1997-2010 The PHP Group
41
42 This source file is subject to version 3.01 of the PHP license, that is
43 bundled with this package in the file LICENSE, and is available through
44 the world-wide-web at the following url:
45 http://www.php.net/license/3_01.txt
46
47 If you did not receive a copy of the PHP license and are unable to
48 obtain it through the world-wide-web, please send a note to
49 license@php.net so we can mail you a copy immediately.
50
51
52
53The PHP Group 2010 php-config(1)