Skip to content

Commit 6042e6d

Browse files
authored
DOCSP-50960: install php with pie (#1014)
1 parent d17a9dc commit 6042e6d

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

source/php-drivers.txt

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -117,26 +117,12 @@ system. See the `PHP manual <https://www.php.net/manual/en/install.php>`__
117117
for download and installation instructions.
118118

119119
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:
123122

124123
.. code-block:: sh
125124

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
140126

141127
Then, install the PHP library by using `Composer
142128
<https://getcomposer.org/>`__. Run the following command from your

0 commit comments

Comments
 (0)