Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

php-config (1)

Name

php-config - get information about PHP configuration and compile options

Synopsis

php-config [options]

Description

php-config(1)                 Scripting Language                 php-config(1)



NAME
       php-config  -  get  information  about  PHP  configuration  and compile
       options

SYNOPSIS
       php-config [options]

DESCRIPTION
       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 available
       --configure-options
                      Configure options to recreate configuration  of  current
                      PHP installation
       --version      PHP version
       --vernum       PHP version as integer

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | web/php-81       |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

SEE ALSO
       php(1)

VERSION INFORMATION
       This manpage describes php, version 8.1.5.

COPYRIGHT
       Copyright (C) The PHP Group

       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:
       https://www.php.net/license/3_01.txt

       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
       license@php.net so we can mail you a copy immediately.



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source                was                downloaded                from
       http://php.net/get/php-8.1.5.tar.xz/from/this/mirror.

       Further information about this software can be found on the open source
       community website at http://php.net/.



The PHP Group                        2021                        php-config(1)