From d6b15a1218380bfe853dbd372bea9761bd5ae7d3 Mon Sep 17 00:00:00 2001 From: norareidy Date: Tue, 1 Jul 2025 12:23:59 -0400 Subject: [PATCH] DOCSP-50960: install php with pie --- source/php-drivers.txt | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/source/php-drivers.txt b/source/php-drivers.txt index 0351997e..963f573f 100644 --- a/source/php-drivers.txt +++ b/source/php-drivers.txt @@ -117,26 +117,12 @@ system. See the `PHP manual `__ for download and installation instructions. Install the PHP MongoDB Extension before you install the MongoDB PHP -Library. You can install the extension by using `PECL -`__ on the -command line: +Library. You can install the extension by using :github:`pie +` on the command line: .. code-block:: sh - sudo pecl install mongodb - -After installation completes, add the following line to your ``php.ini`` -file: - -.. code-block:: text - - extension=mongodb.so - -.. note:: - - On some systems, there might be multiple ``.ini`` files for - individual SAPIs, such as CLI, FPM. Make sure to enable the extension - in all SAPIs that you use. + pie install mongodb/mongodb-extension Then, install the PHP library by using `Composer `__. Run the following command from your