php-config(1)
π php-config β the little script that spills all of PHP's tea π
okay so picture this: you're deep in a php-config(1) situation and you just need to know how the PHP on this machine was built. bestie, this page is your new best friend π«Ά
β¨ NAME β¨
php-config β get information about PHP configuration and compile options. that's it, that's the whole job, and it does it flawlessly π
πΈ SYNOPSIS πΈ
php-config [options]
π¦ DESCRIPTION π¦
php-config is a simple shell script for obtaining information about installed PHP configuration. no cap β it's literally just a lil script, but it's a main character script πβ¨
π OPTIONS π
--prefixβ the directory prefix where PHP is installed, e.g./usr/local--includesβ a list of-Ioptions with all include files. the whole squad of include paths, together π--ldflagsβ the LD Flags which PHP was compiled with--libsβ the extra libraries which PHP was compiled with--man-dirβ the directory prefix where the manpages is installed--extension-dirβ the directory where extensions are 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 SAPI modules available--configure-optionsβ the configure options to recreate the configuration of the current PHP installation. it's giving "receipts for the whole build" π§Ύ--versionβ PHP version--vernumβ PHP version as integer
π SEE ALSO π
php(1) β go say hi, they're literally siblings π
β VERSION INFORMATION β
this manpage describes php, version 8.3.36.
π 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. (yes, actual email, actual human, they're very sweet about it π)
okay that's the whole page, you ate that π
sign-off time: this masterpiece is brought to you by The PHP Group, dated 2024, and the page itself is the php-config(1) situation we've been living in this whole time. mwah, go configure something iconic β¨ππ¦
π¦ where this page comes from
- arch rolling: php-legacy 8.3.36-3 Β· PHP-3.01
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms