svn: /phpdoc/en/trunk/install/ pecl.xml

From: Date: Sun, 03 Jul 2011 03:58:17 +0000
Subject: svn: /phpdoc/en/trunk/install/ pecl.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8404@lists.php.net to get a copy of this message
frozenfire Sun, 03 Jul 2011 03:58:17 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312842 Log: Added php-config section under pecl install. Changed paths: U phpdoc/en/trunk/install/pecl.xml Modified: phpdoc/en/trunk/install/pecl.xml =================================================================== --- phpdoc/en/trunk/install/pecl.xml 2011-07-03 03:38:53 UTC (rev 312841) +++ phpdoc/en/trunk/install/pecl.xml 2011-07-03 03:58:17 UTC (rev 312842) @@ -363,6 +363,97 @@ Execute <command>phpize --help</command> to display additional usage information. </simpara> </sect1> + + <sect1 xml:id="install.phpize.php-config"> + <title>php-config</title> + + <para> + php-config is a simple shell script for obtaining information about the + installed PHP configuration. + </para> + + <para> + The list of command line options provided by the php-config script can be queried + anytime by running php-config with the <option>-h</option> switch: + <screen> +<![CDATA[ +Usage: /usr/local/bin/php-config [OPTION] +Options: + --prefix [...] + --includes [...] + --ldflags [...] + --libs [...] + --extension-dir [...] + --include-dir [...] + --php-binary [...] + --php-sapis [...] + --configure-options [...] + --version [...] + --vernum [...] +]]> + </screen> + </para> + + <para> + <table> + <title>Command line options</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Option</entry> + <entry>Description</entry> + </row> + </thead> + <tbody> + <row> + <entry>--prefix</entry> + <entry>Directory prefix where PHP is installed, e.g. /usr/local</entry> + </row> + <row> + <entry>--includes</entry> + <entry>List of -I options with all include files</entry> + </row> + <row> + <entry>--ldflags</entry> + <entry>LD Flags which PHP was compiled with</entry> + </row> + <row> + <entry>--libs</entry> + <entry>Extra libraries which PHP was compiled with</entry> + </row> + <row> + <entry>--extension-dir</entry> + <entry>Directory where extensions are searched by default</entry> + </row> + <row> + <entry>--include-dir</entry> + <entry>Directory prefix where header files are installed by default</entry> + </row> + <row> + <entry>--php-binary</entry> + <entry>Full path to php CLI or CGI binary</entry> + </row> + <row> + <entry>--php-sapis</entry> + <entry>Show all SAPI modules available</entry> + </row> + <row> + <entry>--configure-options</entry> + <entry>Configure options to recreate configuration of current PHP installation</entry> + </row> + <row> + <entry>--version</entry> + <entry>PHP version</entry> + </row> + <row> + <entry>--vernum</entry> + <entry>PHP version as integer</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </sect1> <sect1 xml:id="install.pecl.static"> <title>Compiling PECL extensions statically into PHP</title>

« previous php.doc.cvs (#8404) next »