File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -117,26 +117,12 @@ system. See the `PHP manual <https://www.php.net/manual/en/install.php>`__
117
117
for download and installation instructions.
118
118
119
119
Install the PHP MongoDB Extension before you install the MongoDB PHP
120
- Library. You can install the extension by using `PECL
121
- <https://www.php.net/manual/en/mongodb.installation.php>`__ on the
122
- command line:
120
+ Library. You can install the extension by using :github:`pie
121
+ </php/pie>` on the command line:
123
122
124
123
.. code-block:: sh
125
124
126
- sudo pecl install mongodb
127
-
128
- After installation completes, add the following line to your ``php.ini``
129
- file:
130
-
131
- .. code-block:: text
132
-
133
- extension=mongodb.so
134
-
135
- .. note::
136
-
137
- On some systems, there might be multiple ``.ini`` files for
138
- individual SAPIs, such as CLI, FPM. Make sure to enable the extension
139
- in all SAPIs that you use.
125
+ pie install mongodb/mongodb-extension
140
126
141
127
Then, install the PHP library by using `Composer
142
128
<https://getcomposer.org/>`__. Run the following command from your
You can’t perform that action at this time.
0 commit comments