Installing mongodb php7 extension version 1.5.0 in ubuntu server Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern)Ubuntu server 12.04 dependency issues when attempting updateUnable install cmake and ccmake?Why did my PHP5.5 upgrade fail?How can I fix this dependency issue that broke Makerware with my last update?Unable to locate pipelight-multi packageWhy doesn't adding the Kubuntu backports ppa allow me to get the latest KDE version?Unable to locate package mysql-serverAttempting to install php-zip - getting libzip4 dependancy (>=1.0) error even though I have 1.0.1 installedHow to install MongoDB 3.0 in Ubuntu 18

How to run automated tests after each commit?

How were pictures turned from film to a big picture in a picture frame before digital scanning?

How do living politicians protect their readily obtainable signatures from misuse?

Where is the Data Import Wizard Error Log

In musical terms, what properties are varied by the human voice to produce different words / syllables?

Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?

Most bit efficient text communication method?

How could we fake a moon landing now?

Project Euler #1 in C++

Random body shuffle every night—can we still function?

Misunderstanding of Sylow theory

Customizing QGIS plugins

What is the meaning of 'breadth' in breadth first search?

What order were files/directories output in dir?

What does it mean that physics no longer uses mechanical models to describe phenomena?

What to do with repeated rejections for phd position

What does this say in Elvish?

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

How does the math work when buying airline miles?

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

Induction Proof for Sequences

Is there public access to the Meteor Crater in Arizona?

Why is it faster to reheat something than it is to cook it?

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?



Installing mongodb php7 extension version 1.5.0 in ubuntu server



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern)Ubuntu server 12.04 dependency issues when attempting updateUnable install cmake and ccmake?Why did my PHP5.5 upgrade fail?How can I fix this dependency issue that broke Makerware with my last update?Unable to locate pipelight-multi packageWhy doesn't adding the Kubuntu backports ppa allow me to get the latest KDE version?Unable to locate package mysql-serverAttempting to install php-zip - getting libzip4 dependancy (>=1.0) error even though I have 1.0.1 installedHow to install MongoDB 3.0 in Ubuntu 18



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I installed mongodb php extension using apt-get install php7.0-mongodb



when I check, it shows that the installed version is 1.2.0, But, I want to install version 1.5.0



So, I tried apt-get install php7.0-mongodb=1.5.0



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.0' for 'php7.0-mongodb' was not found


how can I install version 1.5.0?



I am using ubuntu 16, php7.0










share|improve this question




























    0















    I installed mongodb php extension using apt-get install php7.0-mongodb



    when I check, it shows that the installed version is 1.2.0, But, I want to install version 1.5.0



    So, I tried apt-get install php7.0-mongodb=1.5.0



    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Version '1.5.0' for 'php7.0-mongodb' was not found


    how can I install version 1.5.0?



    I am using ubuntu 16, php7.0










    share|improve this question
























      0












      0








      0








      I installed mongodb php extension using apt-get install php7.0-mongodb



      when I check, it shows that the installed version is 1.2.0, But, I want to install version 1.5.0



      So, I tried apt-get install php7.0-mongodb=1.5.0



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Version '1.5.0' for 'php7.0-mongodb' was not found


      how can I install version 1.5.0?



      I am using ubuntu 16, php7.0










      share|improve this question














      I installed mongodb php extension using apt-get install php7.0-mongodb



      when I check, it shows that the installed version is 1.2.0, But, I want to install version 1.5.0



      So, I tried apt-get install php7.0-mongodb=1.5.0



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Version '1.5.0' for 'php7.0-mongodb' was not found


      how can I install version 1.5.0?



      I am using ubuntu 16, php7.0







      apt php mongodb






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 23 '18 at 13:00









      new_usernew_user

      1013




      1013




















          2 Answers
          2






          active

          oldest

          votes


















          0














          There is no package namedphp7.0-mongodb.



          But php-mongodb exists.

          You will get version 1.1.5-1~build1 on 16.04 LTS and 1.3.4-1build1 on 18.04 LTS.



          So the correct command would be:



          sudo apt-get install php-mongodb





          share|improve this answer























          • when I apt-get install php7.0-mongodb in my machine. It said: php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0. apt-get install php7.0-mongodb=1.4.0 gave me: Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found

            – new_user
            Aug 24 '18 at 6:32


















          0














          To get the newest version of php-mongodb you need to install it using perc.



          1. sudo apt install php-pear (this will install perc)

          2. sudo apt install php-dev

          3. sudo pecl install mongodb

          After executing these commands you should have the newest available mongodb extension installed on your system.



          1. The last step is to add "extension=mongodb.so" to php.ini file. You should find this file in /etc/php/7.2/cli/ folder. Find sections with extensions list and put it under it.
            That's all!





          share|improve this answer








          New contributor




          Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1068194%2finstalling-mongodb-php7-extension-version-1-5-0-in-ubuntu-server%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            There is no package namedphp7.0-mongodb.



            But php-mongodb exists.

            You will get version 1.1.5-1~build1 on 16.04 LTS and 1.3.4-1build1 on 18.04 LTS.



            So the correct command would be:



            sudo apt-get install php-mongodb





            share|improve this answer























            • when I apt-get install php7.0-mongodb in my machine. It said: php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0. apt-get install php7.0-mongodb=1.4.0 gave me: Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found

              – new_user
              Aug 24 '18 at 6:32















            0














            There is no package namedphp7.0-mongodb.



            But php-mongodb exists.

            You will get version 1.1.5-1~build1 on 16.04 LTS and 1.3.4-1build1 on 18.04 LTS.



            So the correct command would be:



            sudo apt-get install php-mongodb





            share|improve this answer























            • when I apt-get install php7.0-mongodb in my machine. It said: php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0. apt-get install php7.0-mongodb=1.4.0 gave me: Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found

              – new_user
              Aug 24 '18 at 6:32













            0












            0








            0







            There is no package namedphp7.0-mongodb.



            But php-mongodb exists.

            You will get version 1.1.5-1~build1 on 16.04 LTS and 1.3.4-1build1 on 18.04 LTS.



            So the correct command would be:



            sudo apt-get install php-mongodb





            share|improve this answer













            There is no package namedphp7.0-mongodb.



            But php-mongodb exists.

            You will get version 1.1.5-1~build1 on 16.04 LTS and 1.3.4-1build1 on 18.04 LTS.



            So the correct command would be:



            sudo apt-get install php-mongodb






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Aug 23 '18 at 13:30









            N0rbertN0rbert

            25.7k855122




            25.7k855122












            • when I apt-get install php7.0-mongodb in my machine. It said: php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0. apt-get install php7.0-mongodb=1.4.0 gave me: Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found

              – new_user
              Aug 24 '18 at 6:32

















            • when I apt-get install php7.0-mongodb in my machine. It said: php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0. apt-get install php7.0-mongodb=1.4.0 gave me: Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found

              – new_user
              Aug 24 '18 at 6:32
















            when I apt-get install php7.0-mongodb in my machine. It said: php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0. apt-get install php7.0-mongodb=1.4.0 gave me: Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found

            – new_user
            Aug 24 '18 at 6:32





            when I apt-get install php7.0-mongodb in my machine. It said: php7.0-mongodb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. phpinfo shows the version is 1.2.0 But I want to install the version 1.4.0. apt-get install php7.0-mongodb=1.4.0 gave me: Reading state information... Done E: Version '1.4.0' for 'php7.0-mongodb' was not found

            – new_user
            Aug 24 '18 at 6:32













            0














            To get the newest version of php-mongodb you need to install it using perc.



            1. sudo apt install php-pear (this will install perc)

            2. sudo apt install php-dev

            3. sudo pecl install mongodb

            After executing these commands you should have the newest available mongodb extension installed on your system.



            1. The last step is to add "extension=mongodb.so" to php.ini file. You should find this file in /etc/php/7.2/cli/ folder. Find sections with extensions list and put it under it.
              That's all!





            share|improve this answer








            New contributor




            Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.
























              0














              To get the newest version of php-mongodb you need to install it using perc.



              1. sudo apt install php-pear (this will install perc)

              2. sudo apt install php-dev

              3. sudo pecl install mongodb

              After executing these commands you should have the newest available mongodb extension installed on your system.



              1. The last step is to add "extension=mongodb.so" to php.ini file. You should find this file in /etc/php/7.2/cli/ folder. Find sections with extensions list and put it under it.
                That's all!





              share|improve this answer








              New contributor




              Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                0












                0








                0







                To get the newest version of php-mongodb you need to install it using perc.



                1. sudo apt install php-pear (this will install perc)

                2. sudo apt install php-dev

                3. sudo pecl install mongodb

                After executing these commands you should have the newest available mongodb extension installed on your system.



                1. The last step is to add "extension=mongodb.so" to php.ini file. You should find this file in /etc/php/7.2/cli/ folder. Find sections with extensions list and put it under it.
                  That's all!





                share|improve this answer








                New contributor




                Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                To get the newest version of php-mongodb you need to install it using perc.



                1. sudo apt install php-pear (this will install perc)

                2. sudo apt install php-dev

                3. sudo pecl install mongodb

                After executing these commands you should have the newest available mongodb extension installed on your system.



                1. The last step is to add "extension=mongodb.so" to php.ini file. You should find this file in /etc/php/7.2/cli/ folder. Find sections with extensions list and put it under it.
                  That's all!






                share|improve this answer








                New contributor




                Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 1 hour ago









                NologNolog

                1




                1




                New contributor




                Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Nolog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1068194%2finstalling-mongodb-php7-extension-version-1-5-0-in-ubuntu-server%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

                    fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap

                    Where else does the Shulchan Aruch quote an authority by name?Parashat Metzora+HagadolPesach/PassoverShulchan Aruch UTF-8Anonymous glosses in the Shulchan AruchWhy is the Shulchan Aruch definitive?Siman 32, Kitzur Shulchan Aruch: UntranslatedLitvaks/Yeshivish and Shulchan AruchBuying a Shulchan AruchEnglish version of SHULCHAN ARUCHIs there any place where Shulchan Aruch rules with the Rosh against the Rif and Rambam?Are there practices where Sepharadim do not hold by Shulchan Aruch?5th part of the shulchan aruch