php-config(1)

πŸ“¦
version 8.5.9 Β· 2 versions
, in ubuntu stonking

πŸ’– php-config(1) β€” the manual, but make it cute ✨

okay so bestie, welcome to the php-config page from the Scripting Language corner of the manual universe. this is the group chat where your PHP install spills its own tea πŸ’…


🌸 NAME 🌸

php-config β€” get information about PHP configuration and compile options


✨ SYNOPSIS ✨

php-config [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

lowkey iconic: php-config is literally just a simple shell script, and its whole job is handing you info about your installed PHP configuration. that's it. that's the girl. no cap. 🫢


πŸ’… OPTIONS πŸ’…

  • --prefix β€” the directory prefix where PHP is installed, e.g. /usr/local
  • --includes β€” gives you a list of -I options, with all the include files in it
  • --ldflags β€” the LD Flags that PHP was compiled with
  • --libs β€” the extra libraries PHP was compiled with
  • --man-dir β€” the directory prefix where the manpages are installed
  • --extension-dir β€” the directory where extensions get searched by default
  • --include-dir β€” the directory prefix where header files are installed by default
  • --lib-dir β€” the directory where libraries are installed by default
  • --lib-embed β€” the PHP embed library name
  • --php-binary β€” the full path to the php CLI or CGI binary
  • --php-sapis β€” show all SAPI modules installed on the Debian system
  • --configure-options β€” the configure options you'd need to recreate the configuration of your current PHP installation (so you can, like, reproduce the vibe ✨)
  • --ini-path β€” the directory from which PHP reads its INI configuration file (php.ini)
  • --ini-dir β€” the directory from which PHP scans for additional INI configuration files
  • --version β€” the PHP version
  • --vernum β€” the PHP version, but as an integer

πŸ‘€ SEE ALSO πŸ‘€


⭐ VERSION INFORMATION ⭐

this manpage describes php, version 8.5.9. periodt.


Copyright Β© The PHP Group

this source file is subject to version 3.01 of the PHP license, which is bundled with this package in the file LICENSE, and is also available through the world-wide-web at the following url:

https://www.php.net/license/3_01.txt

and listen β€” if you did not receive a copy of the PHP license and you can't get one through the world-wide-web either, please send a note to license@php.net so they can mail you a copy immediately. they're nice like that, fr fr 🫢


πŸ’Œ and that's a wrap, bestie!! brought to you by The PHP Group, dated 2024, living in php-config(1) β€” go forth and configure slayfully βœ¨πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from