php-config(1)

πŸ“¦
version 8.1.2 Β· 3 versions
, in ubuntu jammy

πŸ’– php-config(1) πŸ’–

okay bestie, so this is a page for php-config, from section 1 of the manual β€” the Scripting Language corner of the docs, iykyk ✨


🌸 NAME 🌸

php-config</p> β€” get information about PHP configuration and compile options 🫢


✨ SYNOPSIS ✨

php-config [options]

πŸŽ€ DESCRIPTION πŸŽ€

So the way that php-config works is: it's a simple shell script πŸ’… and its whole entire job is handing you information about your installed PHP configuration. That's it. That's the gig. Lowkey iconic for how much it does with so little.


πŸ’… OPTIONS πŸ’…

  • --prefix β€” the directory prefix where PHP is installed, like /usr/local
  • --includes β€” gives you the list of -I options with all the include files πŸ¦‹
  • --ldflags β€” the LD Flags 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
  • --php-binary β€” the full path to the php CLI or CGI binary
  • --php-sapis β€” shows you all the SAPI modules installed on the Debian system πŸ‘‘
  • --configure-options β€” the configure options you'd need to recreate the configuration of the current PHP installation
  • --version β€” the PHP version ⭐
  • --vernum β€” the PHP version, but as an integer 😌

🌈 SEE ALSO 🌈


🧚 VERSION INFORMATION 🧚

This manpage describes php, version 8.1.2-1ubuntu2.28. no cap πŸ’œ


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.


okay that's the whole page bestie, slay πŸŽ€πŸ’– it's giving The PHP Group, dated 2021, and yes it's still php-config(1) β€” obsessed with you for reading the whole thing, periodt βœ¨πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from