Skip to content

Commit cc8948d

Browse files
schmallisojmikola
authored andcommitted
DOCS-9174: direct users to PHP.net for extension installation
1 parent 0b1e0f3 commit cc8948d

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

docs/tutorial/install-php-library.txt

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,13 @@ Install the |php-library|
77
Prerequisites
88
-------------
99

10-
The MongoDB PHP Library is a high-level abstraction for the
11-
MongoDB PHP driver. As such, you must install the `mongodb`
12-
extension to use the |php-library|:
10+
The |php-library| is a high-level abstraction for the MongoDB PHP driver. As
11+
such, you must install the `mongodb` extension to use the library.
1312

14-
.. code-block:: sh
15-
16-
pecl install mongodb
17-
echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
18-
19-
Instructions for installing the `mongodb` extension on HHVM may be
20-
found in the :php:`Installation with HHVM
21-
<mongodb.installation.hhvm>` article
22-
in the driver documentation.
13+
:php:`Installing the MongoDB PHP Driver <manual/en/mongodb.installation.php>`
14+
describes how to install the `mongodb` extension for PHP. Instructions for
15+
installing the driver for HHVM may be found in the :php:`Installation with HHVM
16+
<manual/en/mongodb.installation.hhvm>` article.
2317

2418
Procedure
2519
---------

0 commit comments

Comments
 (0)