php-config(1)

πŸ“¦ version 8.3.6, in ubuntu noble

✨ php-config β€” bestie edition ✨

okay so this is php-config(1), living in the Scripting Language section of your manpages, and honestly? she's a tiny little icon. πŸ‘‘


🌸 NAME 🌸

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

πŸŽ€ SYNOPSIS πŸŽ€

php-config [options]

πŸ’… DESCRIPTION πŸ’…

So php-config is, and I cannot stress this enough, a simple shell script. That's it. That's her whole deal. 🫢

Her entire purpose in life is handing you information about the PHP configuration that's installed on your system. No cap. You ask, she tells. It's giving personal assistant but for build flags.

πŸ”₯ OPTIONS πŸ”₯

  • --prefix β€” the directory prefix where PHP is installed, like /usr/local
  • --includes β€” a list of -I options covering all the include files
  • --ldflags β€” the LD Flags that PHP was compiled with
  • --libs β€” extra libraries that 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
  • --php-binary β€” full path to the php CLI or CGI binary
  • --php-sapis β€” show all SAPI modules installed on the Debian system
  • --configure-options β€” configure options to recreate the configuration of your current PHP installation
  • --version β€” PHP version
  • --vernum β€” PHP version as an integer

πŸ¦‹ SEE ALSO πŸ¦‹

php(1) β€” go say hi to her sibling πŸ’–

⭐ VERSION INFORMATION ⭐

This manpage describes php, version 8.3.6.

Copyright Β© 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.


and that's the whole page bestie, no gatekeeping here πŸ’œ

kisses from The PHP Group, datestamped 2024, and the page itself is php-config(1). periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from