php-config(1)

πŸ“¦
version 8.4.27 Β· 4 versions
, in debian trixie

πŸ’… php-config(1) β€” Scripting Language 🐘

okay bestie, so this is the manual page for php-config, straight out of the PHP world, and it's genuinely so useful, you're gonna love it ✨


🌸 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 🐚 that hands you information about the PHP configuration you've got installed on your machine. That's the whole vibe. It's not deep, it's not mysterious, it just tells you stuff. And honestly? We love a script with no drama. πŸ’…

✨ OPTIONS ✨

  • --prefix β€” the directory prefix where PHP is installed, like /usr/local πŸ“
  • --includes β€” spits out the list of -I options with all the include files πŸ—‚οΈ
  • --ldflags β€” the LD flags that PHP was compiled with πŸ”§
  • --libs β€” the 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 πŸ“„
  • --lib-dir β€” the directory where libraries are installed by default 🧱
  • --lib-embed β€” the PHP embed library name 🫢
  • --php-binary β€” full path to the php CLI or CGI binary πŸš€
  • --php-sapis β€” shows all the SAPI modules installed on the Debian system 🐧
  • --configure-options β€” the configure options you'd need to recreate the configuration of your current PHP installation πŸ”
  • --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 β€” PHP version 🏷️
  • --vernum β€” PHP version as an integer πŸ”’

πŸ‘€ SEE ALSO πŸ‘€

🌈 VERSION INFORMATION 🌈

This manpage describes php, version 8.4.27. πŸ’œ

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 πŸ“¬ β€” fr fr, they'll sort you out, no cap 🫢


and that's the whole thing bestie, main character documentation energy only 😭✨ The PHP Group wrote this one back in 2024, so if you ever need the source of truth, that's who to thank πŸ’–πŸŽ€

πŸ“¦ where this page comes from