php-config(1)
π 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-Ioptions 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 thephpCLI 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 π
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
- debian trixie: php8.4-dev 8.4.27-1~deb13u1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms