mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
0c07b0d94f
And make locatable by via `php-config`. Prior to this, `libphp.*` would always install to `$prefix/lib`. After this, they will install to `$libdir`. In practice, this will make it so that programs embedding libphp can use `php-config` to determine appropriate compile flags without guessing. In `configure.ac`, it seems `$libdir` is mutated in some instances. Ideally the mutated version would be stored in `$phplibdir` or something. Instead of tracking down all uses of that variable, I introduced another variable `$orig_libdir` that holds the original value passed to the configure script. This is a no-op for users unless they are compiling with `--libdir` set to something other than `$prefix/lib`, the default. Closes GH-12389
98 lines
2.1 KiB
Groff
98 lines
2.1 KiB
Groff
.TH @program_prefix@php\-config 1 "2024" "The PHP Group" "Scripting Language"
|
|
.SH NAME
|
|
@program_prefix@php\-config \- get information about PHP configuration and compile options
|
|
.SH SYNOPSIS
|
|
.B @program_prefix@php\-config
|
|
[options]
|
|
.LP
|
|
.SH DESCRIPTION
|
|
.B @program_prefix@php\-config
|
|
is a simple shell script for obtaining information about installed PHP configuration.
|
|
.SH OPTIONS
|
|
.TP 15
|
|
.PD 0
|
|
.B \-\-prefix
|
|
Directory prefix where PHP is installed, e.g. /usr/local
|
|
.TP
|
|
.PD 0
|
|
.B \-\-includes
|
|
List of \-I options with all include files
|
|
.TP
|
|
.PD 0
|
|
.B \-\-ldflags
|
|
LD Flags which PHP was compiled with
|
|
.TP
|
|
.PD 0
|
|
.B \-\-libs
|
|
Extra libraries which PHP was compiled with
|
|
.TP
|
|
.PD 0
|
|
.B \-\-man-dir
|
|
The directory prefix where the manpages is installed
|
|
.TP
|
|
.PD 0
|
|
.B \-\-extension-dir
|
|
Directory where extensions are searched by default
|
|
.TP
|
|
.PD 0
|
|
.B \-\-include-dir
|
|
Directory prefix where header files are installed by default
|
|
.TP
|
|
.PD 0
|
|
.B \-\-lib-dir
|
|
Directory where libraries are installed by default
|
|
.TP
|
|
.PD 0
|
|
.B \-\-lib-embed
|
|
PHP embed library name
|
|
.TP
|
|
.PD 0
|
|
.B \-\-php-binary
|
|
Full path to php CLI or CGI binary
|
|
.TP
|
|
.PD 0
|
|
.B \-\-php-sapis
|
|
Show all SAPI modules available
|
|
.TP
|
|
.PD 0
|
|
.B \-\-configure-options
|
|
Configure options to recreate configuration of current PHP installation
|
|
.TP
|
|
.PD 0
|
|
.B \-\-ini-path
|
|
Directory from which PHP reads its INI configuration file (php.ini)
|
|
.TP
|
|
.PD 0
|
|
.B \-\-ini-dir
|
|
Directory from which PHP scans for additional INI configuration files
|
|
.TP
|
|
.PD 0
|
|
.B \-\-version
|
|
PHP version
|
|
.TP
|
|
.PD 0
|
|
.B \-\-vernum
|
|
PHP version as integer
|
|
.RS
|
|
.PD 1
|
|
.P
|
|
.SH SEE ALSO
|
|
.BR @program_prefix@php (1)
|
|
.SH VERSION INFORMATION
|
|
This manpage describes \fBphp\fP, version @PHP_VERSION@.
|
|
.SH COPYRIGHT
|
|
Copyright \(co The PHP Group
|
|
.LP
|
|
This source file is subject to version 3.01 of the PHP license,
|
|
that is bundled with this package in the file LICENSE, and is
|
|
available through the world-wide-web at the following url:
|
|
.PD 0
|
|
.P
|
|
.B https://www.php.net/license/3_01.txt
|
|
.PD 1
|
|
.P
|
|
If you did not receive a copy of the PHP license and are unable to
|
|
obtain it through the world-wide-web, please send a note to
|
|
.B license@php.net
|
|
so we can mail you a copy immediately.
|