php-config(1)

πŸ“¦
version 8.2.35 Β· 3 versions
, in debian bookworm

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

okay bestie, gather round, because this lil page lives in the Scripting Language section of your manual and it is genuinely one of the most useful little scripts you'll ever meet. no cap. 🫢


✨ NAME ✨

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


🌸 SYNOPSIS 🌸

php-config [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, php-config is a simple shell script β€” yes, just a shell script, she's lowkey humble β€” and her whole job is getting you information about the installed PHP configuration</> on your system. that's it. that's the vibe. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per flag, no skips, no skimming, we respect every single one:

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

🌈 SEE ALSO 🌈


πŸ’œ VERSION INFORMATION πŸ’œ

this manpage describes php, version 8.2.35. 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 this url:

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

if you did not receive a copy of the PHP license and you're also 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. 🫢 (yes, actual mail, it's giving old-school and honestly iconic)


and that's the whole page bestie!! πŸ’– brought to you by The PHP Group, dated 2024, and filed under php-config(1) β€” go forth and configure slayfully 🧚✨

πŸ“¦ where this page comes from