From 6bb80ceb9a382cf680961774ed289e7e2072cf35 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Tue, 16 Feb 2010 19:36:02 +0000 Subject: [PATCH] Help unify PECL documentation, by using the PECL entities. First stage in closing PHP bug #37315 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295182 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/apd/setup.xml | 19 +------ reference/bcompiler/configure.xml | 83 ++++--------------------------- reference/cairo/setup.xml | 18 ++++--- reference/dio/configure.xml | 12 +++-- reference/id3/setup.xml | 9 ++-- reference/kadm5/setup.xml | 24 +++++---- reference/ktaglib/configure.xml | 14 +++--- reference/mcve/configure.xml | 21 ++++---- reference/mcve/setup.xml | 4 +- reference/phar/installation.xml | 28 +++-------- reference/radius/configure.xml | 25 +++------- reference/spplus/setup.xml | 24 ++++----- reference/vpopmail/configure.xml | 14 ++++-- reference/xattr/configure.xml | 21 +------- reference/xdiff/configure.xml | 21 +------- 15 files changed, 109 insertions(+), 228 deletions(-) diff --git a/reference/apd/setup.xml b/reference/apd/setup.xml index ce8537e972..5f03edea15 100644 --- a/reference/apd/setup.xml +++ b/reference/apd/setup.xml @@ -12,27 +12,10 @@
&reftitle.install; - APD is currently available as a PECL extension from + &pecl.info; &url.pecl.package;apd. - Run the following command to download, build, and install the latest stable - version of APD: - - - - - - This automatically installs the APD Zend module into your PHP - extensions directory. It is not mandatory to keep it there; you can - store the module in any directory PHP can read as long as you set - the zend_extension parameter accordingly. - - - Windows users will enable php_apd.dll inside - of &php.ini; in order to use these functions. &pecl.windows.download; diff --git a/reference/bcompiler/configure.xml b/reference/bcompiler/configure.xml index f1284cf2b6..f91bf8445a 100644 --- a/reference/bcompiler/configure.xml +++ b/reference/bcompiler/configure.xml @@ -2,79 +2,16 @@
&reftitle.install; - - short installation note: - - - You need at least PHP 4.3.0 for the compression to work - - - - To install on PHP 4.3.0 and later at the Unix command prompt type - pear install bcompiler - - - - - To install on Windows, until the binary package distribution - mechanism is finished please search the archives of the pear-general - mailing list for pre-built packages. (or send an email to it if you could - not find a reference) - - - - - To install on older versions you need to make some slight changes to the - build. - - - - - untar the bcompiler.tgz archive into - php4/ext.(Get it directly from - PECL &url.pecl.package.get;bcompiler) - - - - - If the new directory is now called something like bcompiler-0.x, then you - should rename it to bcompiler (except you only want to build it as - self-contained php-module). - - - - - If you are using versions before PHP 4.3.0, the you will need to copy the - Makefile.in.old to Makefile.in - and config.m4.old to config.m4. - - - - - run phpize in - ext/bcompiler - - - - - run ./buildconf in php4 - - - - - - run configure with (and your other options) - - - - - make; make install - - - that's it. - - + + &pecl.moved; + + + &pecl.info; + &url.pecl.package;bcompiler. + + + &pecl.windows.download; +
diff --git a/reference/dio/configure.xml b/reference/dio/configure.xml index 4678415bb0..ebfad07bdc 100644 --- a/reference/dio/configure.xml +++ b/reference/dio/configure.xml @@ -1,10 +1,16 @@ -
+
&reftitle.install; - To get these functions to work, you have to configure PHP with - . + &pecl.moved; + + + &pecl.info; + &url.pecl.package;dio. + + + &pecl.windows.download;
diff --git a/reference/id3/setup.xml b/reference/id3/setup.xml index a2d399afba..7cc746af90 100644 --- a/reference/id3/setup.xml +++ b/reference/id3/setup.xml @@ -15,10 +15,11 @@
&reftitle.install; - id3 is part of PECL and can be installed using the PEAR installer. - To compile PHP with id3 support, download the sourcecode, put it in - php-src/ext/id3 and compile PHP using - --enable-id3. + &pecl.info; + &url.pecl.package;id3. + + + &pecl.windows.download;
diff --git a/reference/kadm5/setup.xml b/reference/kadm5/setup.xml index c714807d15..28f38a5a41 100644 --- a/reference/kadm5/setup.xml +++ b/reference/kadm5/setup.xml @@ -15,15 +15,21 @@
&reftitle.install; - These functions allow you to access Kerberos administration servers. In - order to have these functions available, you must compile PHP with KADM5 - support by using the --with-kadm5 configurable option. - If you use this option without specifying the path to KADM5, PHP will - use the built-in KADM5 client libraries. Users who run other applications - that use KADM5 (for example, running PHP 4 and PHP 5 as concurrent apache - modules, or auth-kadm5) should always specify the path to KADM5: - --with-kadm5=/path/to/kadm5. This will force PHP to use - the client libraries installed by KADM5, avoiding any conflicts. + &pecl.info; + &url.pecl.package;kadm5. + + + + If this option is used without specifying the path to KADM5, PHP will + use the built-in KADM5 client libraries. Users who run other applications + that use KADM5 (for example, running PHP 4 and PHP 5 as concurrent apache + modules, or auth-kadm5) should always specify the path to KADM5: + --with-kadm5=/path/to/kadm5. This will force PHP to use + the client libraries installed by KADM5, avoiding any conflicts. + + + + &pecl.windows.download;
diff --git a/reference/ktaglib/configure.xml b/reference/ktaglib/configure.xml index f05ff5664b..77da827912 100644 --- a/reference/ktaglib/configure.xml +++ b/reference/ktaglib/configure.xml @@ -1,16 +1,14 @@ -
+
&reftitle.install; - KTaglib support in PHP is not enabled by default. You will need to - configure PHP + &pecl.info; + &url.pecl.package;ktaglib. + + + &pecl.windows.download; - - - KTaglib is part of PECL. - -
&reftitle.required; - &no.requirement; + + The LibMonetra (formerly libmcve) library. +
diff --git a/reference/phar/installation.xml b/reference/phar/installation.xml index f973402b88..d6d0d4d404 100644 --- a/reference/phar/installation.xml +++ b/reference/phar/installation.xml @@ -2,28 +2,16 @@
&reftitle.install; + + The Phar extension is built into PHP as of PHP version 5.3.0. Phar may be installed + via the PECL extension with previous PHP versions, and the + Phar PECL page contains + further information and history. + - &pecl.info; - &url.pecl.package;phar. + Windows users must include the php_phar.dll file within + &php.ini; to use this extension. - - - To install on Windows, follow the instructions above, modify your php.ini and restart your web server. - - - - - - - - Since PHP 5.3.0, Phar extension is built-in, no DLL is needed. - -
diff --git a/reference/vpopmail/configure.xml b/reference/vpopmail/configure.xml index 6829a9d485..29cbb13c84 100644 --- a/reference/vpopmail/configure.xml +++ b/reference/vpopmail/configure.xml @@ -1,10 +1,16 @@ -
+
&reftitle.install; - - These functions are only available if PHP was configured with - . + + &pecl.moved; + + + &pecl.info; + &url.pecl.package;vpopmail. + + + &pecl.windows.download;
diff --git a/reference/xattr/configure.xml b/reference/xattr/configure.xml index adf36b9eac..d8d5ec3767 100644 --- a/reference/xattr/configure.xml +++ b/reference/xattr/configure.xml @@ -3,28 +3,11 @@
&reftitle.install; - xattr is currently available through PECL + &pecl.info; &url.pecl.package;xattr. - If PEAR is available on your *nix-like - system you can use the pear installer to install the xattr extension, by the - following command: pear -v install xattr. - - - You can always download the tar.gz package and install xattr by hand: - - xattr install by hand - - - - + &pecl.windows.download;
diff --git a/reference/xdiff/configure.xml b/reference/xdiff/configure.xml index 7bc9d62b2e..dd89e5839a 100644 --- a/reference/xdiff/configure.xml +++ b/reference/xdiff/configure.xml @@ -3,28 +3,11 @@
&reftitle.install; - xdiff is currently available through PECL + &pecl.info; &url.pecl.package;xdiff. - If PEAR is available on your *nix-like - system you can use the pear installer to install the xdiff extension, by the - following command: pear -v install xdiff. - - - You can always download the tar.gz package and install xdiff by hand: - - xdiff install by hand - - - - + &pecl.windows.download;