From ff70598165f04d44c42b7b37477161f1a1d48514 Mon Sep 17 00:00:00 2001 From: norareidy Date: Tue, 1 Jul 2025 09:31:36 -0500 Subject: [PATCH 1/4] DOCSP-50960: Install with pie --- source/get-started.txt | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/source/get-started.txt b/source/get-started.txt index 007cbeb8..104aee43 100644 --- a/source/get-started.txt +++ b/source/get-started.txt @@ -65,25 +65,19 @@ Download and Install .. code-block:: bash - sudo pecl install mongodb - - .. step:: Update your PHP configuration file - - To enable the ``mongodb`` extension in your PHP configuration file, add the - following line to the top of your ``php.ini`` file: - - .. code-block:: none - - extension=mongodb.so + pie install mongodb/mongodb-extension .. tip:: - You can locate your ``php.ini`` file by running the following command - in your shell: + To install a specific version of the {+extension-short+}, provide + the version number as shown in the following command: .. code-block:: bash - php --ini + pie install mongodb/mongodb-extension^{+full-version+} + + If you want to install a {+extension-short+} version before v1.21, + use the :php:`pecl command `. .. step:: Create a project directory From fbc7ca36043136392b55ac7688edd985a5f88257 Mon Sep 17 00:00:00 2001 From: norareidy Date: Tue, 1 Jul 2025 09:43:05 -0500 Subject: [PATCH 2/4] edits --- source/get-started.txt | 4 ++-- source/references/upgrade.txt | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/source/get-started.txt b/source/get-started.txt index 42ec6bab..1e991547 100644 --- a/source/get-started.txt +++ b/source/get-started.txt @@ -67,7 +67,7 @@ Download and Install pie install mongodb/mongodb-extension - .. tip:: + .. tip:: Specify the PHP Extension Version To install a specific version of the {+extension-short+}, provide the version number as shown in the following command: @@ -77,7 +77,7 @@ Download and Install pie install mongodb/mongodb-extension^{+full-version+} If you want to install a {+extension-short+} version before v1.21, - use the :php:`pecl command `. + use the :php:`pecl command `. .. step:: Create a project directory diff --git a/source/references/upgrade.txt b/source/references/upgrade.txt index 5c0c8fe8..df98d8c4 100644 --- a/source/references/upgrade.txt +++ b/source/references/upgrade.txt @@ -58,7 +58,16 @@ directory: .. code-block:: bash - pecl upgrade mongodb- + pie install mongodb/mongodb-extension:^ + +.. tip:: Previous PHP Extension Versions + + To upgrade to a {+extension-short+} version before v1.21, + use the following command: + + .. code-block:: bash + + pecl upgrade mongodb- To upgrade the PHP library version, replace ```` with the version number you want to upgrade to and run the following command in your From b7f89c8dbf3681cc626780fd5564e403beb4e9fb Mon Sep 17 00:00:00 2001 From: norareidy Date: Tue, 1 Jul 2025 11:39:32 -0400 Subject: [PATCH 3/4] RR feedback --- source/get-started.txt | 4 ++-- source/references/upgrade.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/get-started.txt b/source/get-started.txt index 1e991547..5037e3bd 100644 --- a/source/get-started.txt +++ b/source/get-started.txt @@ -69,14 +69,14 @@ Download and Install .. tip:: Specify the PHP Extension Version - To install a specific version of the {+extension-short+}, provide + To install a specific version of the {+extension-short+}, include the version number as shown in the following command: .. code-block:: bash pie install mongodb/mongodb-extension^{+full-version+} - If you want to install a {+extension-short+} version before v1.21, + Tto install a {+extension-short+} version before v1.21, you must use the :php:`pecl command `. .. step:: Create a project directory diff --git a/source/references/upgrade.txt b/source/references/upgrade.txt index df98d8c4..26c924f0 100644 --- a/source/references/upgrade.txt +++ b/source/references/upgrade.txt @@ -67,7 +67,7 @@ directory: .. code-block:: bash - pecl upgrade mongodb- + sudo pecl upgrade mongodb- To upgrade the PHP library version, replace ```` with the version number you want to upgrade to and run the following command in your From fb98c18de08058587d62bb210e83aaab6abdc8de Mon Sep 17 00:00:00 2001 From: norareidy Date: Tue, 1 Jul 2025 14:19:28 -0400 Subject: [PATCH 4/4] JT feedback --- source/get-started.txt | 5 +++-- source/references/upgrade.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/source/get-started.txt b/source/get-started.txt index 5037e3bd..af285184 100644 --- a/source/get-started.txt +++ b/source/get-started.txt @@ -58,6 +58,7 @@ Download and Install - :php:`PHP ` version 7.4 or later - `Composer `__ version 2.0 or later + - :github:`pie ` .. step:: Install the MongoDB PHP extension @@ -74,9 +75,9 @@ Download and Install .. code-block:: bash - pie install mongodb/mongodb-extension^{+full-version+} + pie install mongodb/mongodb-extension:^{+full-version+} - Tto install a {+extension-short+} version before v1.21, you must + To install a {+extension-short+} version before v1.21, you must use the :php:`pecl command `. .. step:: Create a project directory diff --git a/source/references/upgrade.txt b/source/references/upgrade.txt index 26c924f0..df98d8c4 100644 --- a/source/references/upgrade.txt +++ b/source/references/upgrade.txt @@ -67,7 +67,7 @@ directory: .. code-block:: bash - sudo pecl upgrade mongodb- + pecl upgrade mongodb- To upgrade the PHP library version, replace ```` with the version number you want to upgrade to and run the following command in your