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