php-config(1)
π php-config β hey bestie, let's talk about your PHP setup π
So this is a page from the Scripting Language manual section β it's php-config(1), and it's literally your backstage pass to everything your PHP install is keeping secret. π
β¨ NAME β¨
php-config β get the tea on your PHP configuration and compile options π«
β¨ SYNOPSIS β¨
php-config [options]
β¨ DESCRIPTION β¨
okay so, php-config is a simple shell script π and its whole job β its entire main character purpose β is handing you information about your installed PHP configuration. That's it. That's the gig. No cap. π
β¨ OPTIONS β¨
Pick your fighter, bestie. Every one of these is a flag you pass and it spills a specific lil fact about your PHP:
--prefixβ the directory prefix where PHP is installed, like for example/usr/localπ--includesβ gives you the list of-Ioptions with all the include files ποΈ--ldflagsβ the LD Flags that 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 π--lib-dirβ the directory where libraries are installed by default π§Ί--lib-embedβ the PHP embed library name π«--php-binaryβ the full path to thephpCLI or CGI binary π£οΈ--php-sapisβ shows you all the SAPI modules available β¨--configure-optionsβ the configure options 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β the PHP version π·οΈ--vernumβ the PHP version, but as an integer π’
β¨ SEE ALSO β¨
php(1) β yeah go read that one too, it's giving sibling energy π
β¨ VERSION INFORMATION β¨
This manpage describes php, version 8.5.12. π
β¨ 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, that's the whole page. go check your config, bestie, you got this πβ¨
The PHP Group Β· 2024 Β· php-config(1) β mwah, thanks for reading, ily, bye ππ
π¦
π¦ where this page comes from
- arch rolling: php 8.5.12-3 Β· PHP-3.01
- fedora 44: php-devel 8.5.12-1.fc44 Β· PHP-3.01 AND Zend-2.0 AND BSD-2-Clause AND MIT AND Apache-1.0 AND Apache-2.0 AND NCSA AND BSL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms