PHP7.0-curl and MSSQL Tools Incompatibility

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I'm trying to install Moodle on Ubuntu 18.04 and connect it to a MSSQL server.



But when i try to install php7.0-curl extension, so moodle can work, the MSSQL Tools and other libs are being deleted cause they support libcurl3 although the latest php7.0-curl has a dependency only with libcurl4.



So when i try to install libcurl4 it removes the packages MSSQL tools and others.



sudo ACCEPT_EULA=Y apt-get -y install msodbcsql mssql-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpython-stdlib python python-minimal python2.7 python2.7-minimal
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libcurl3 msodbcsql17
The following packages will be REMOVED:
libcurl4 libcurl4-openssl-dev php7.0-curl
The following NEW packages will be installed:
libcurl3 msodbcsql msodbcsql17 mssql-tools


Is there any way to install older php7.0-curl extension so i can keep both MSSQL tools and Moodle happy?



Thanks a lot for your time.







share|improve this question
























    up vote
    0
    down vote

    favorite












    I'm trying to install Moodle on Ubuntu 18.04 and connect it to a MSSQL server.



    But when i try to install php7.0-curl extension, so moodle can work, the MSSQL Tools and other libs are being deleted cause they support libcurl3 although the latest php7.0-curl has a dependency only with libcurl4.



    So when i try to install libcurl4 it removes the packages MSSQL tools and others.



    sudo ACCEPT_EULA=Y apt-get -y install msodbcsql mssql-tools
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libpython-stdlib python python-minimal python2.7 python2.7-minimal
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
    libcurl3 msodbcsql17
    The following packages will be REMOVED:
    libcurl4 libcurl4-openssl-dev php7.0-curl
    The following NEW packages will be installed:
    libcurl3 msodbcsql msodbcsql17 mssql-tools


    Is there any way to install older php7.0-curl extension so i can keep both MSSQL tools and Moodle happy?



    Thanks a lot for your time.







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to install Moodle on Ubuntu 18.04 and connect it to a MSSQL server.



      But when i try to install php7.0-curl extension, so moodle can work, the MSSQL Tools and other libs are being deleted cause they support libcurl3 although the latest php7.0-curl has a dependency only with libcurl4.



      So when i try to install libcurl4 it removes the packages MSSQL tools and others.



      sudo ACCEPT_EULA=Y apt-get -y install msodbcsql mssql-tools
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
      libpython-stdlib python python-minimal python2.7 python2.7-minimal
      Use 'sudo apt autoremove' to remove them.
      The following additional packages will be installed:
      libcurl3 msodbcsql17
      The following packages will be REMOVED:
      libcurl4 libcurl4-openssl-dev php7.0-curl
      The following NEW packages will be installed:
      libcurl3 msodbcsql msodbcsql17 mssql-tools


      Is there any way to install older php7.0-curl extension so i can keep both MSSQL tools and Moodle happy?



      Thanks a lot for your time.







      share|improve this question












      I'm trying to install Moodle on Ubuntu 18.04 and connect it to a MSSQL server.



      But when i try to install php7.0-curl extension, so moodle can work, the MSSQL Tools and other libs are being deleted cause they support libcurl3 although the latest php7.0-curl has a dependency only with libcurl4.



      So when i try to install libcurl4 it removes the packages MSSQL tools and others.



      sudo ACCEPT_EULA=Y apt-get -y install msodbcsql mssql-tools
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
      libpython-stdlib python python-minimal python2.7 python2.7-minimal
      Use 'sudo apt autoremove' to remove them.
      The following additional packages will be installed:
      libcurl3 msodbcsql17
      The following packages will be REMOVED:
      libcurl4 libcurl4-openssl-dev php7.0-curl
      The following NEW packages will be installed:
      libcurl3 msodbcsql msodbcsql17 mssql-tools


      Is there any way to install older php7.0-curl extension so i can keep both MSSQL tools and Moodle happy?



      Thanks a lot for your time.









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 13 at 10:04









      Kwnstantinos Natsios

      1033




      1033




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          You need to install previous version of extensions ‘common’ and ‘curl’ for php7.0



          wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb

          wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.deb


          sudo dpkg -i php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb


          sudo dpkg -i php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.deb





          share|improve this answer




















            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1035646%2fphp7-0-curl-and-mssql-tools-incompatibility%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            You need to install previous version of extensions ‘common’ and ‘curl’ for php7.0



            wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb

            wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.deb


            sudo dpkg -i php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb


            sudo dpkg -i php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.deb





            share|improve this answer
























              up vote
              1
              down vote



              accepted










              You need to install previous version of extensions ‘common’ and ‘curl’ for php7.0



              wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb

              wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.deb


              sudo dpkg -i php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb


              sudo dpkg -i php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.deb





              share|improve this answer






















                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                You need to install previous version of extensions ‘common’ and ‘curl’ for php7.0



                wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb

                wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.deb


                sudo dpkg -i php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb


                sudo dpkg -i php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.deb





                share|improve this answer












                You need to install previous version of extensions ‘common’ and ‘curl’ for php7.0



                wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb

                wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.deb


                sudo dpkg -i php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb


                sudo dpkg -i php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.deb






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 13 at 11:17









                Lenkus

                262




                262






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035646%2fphp7-0-curl-and-mssql-tools-incompatibility%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Which professions warranted travel in Medieval times?

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error