Unable to load dynamic library PHP after upgrade to 18.04

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








up vote
0
down vote

favorite












I get the following error when trying to use PHP after an upgrade to Ubuntu 18.04:



PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303/remctl.so' - /usr/lib/php/20160303/remctl.so: cannot open shared object file: No such file or directory in Unknown on line 0


I tried Upgrading to 18.04 caused issue with php installation.



When I try to run:



sudo apt-get --purge remove php*


I get:



no matches found: php*


I tried to reinstall PHP but this did not solve the problem.







share|improve this question


























    up vote
    0
    down vote

    favorite












    I get the following error when trying to use PHP after an upgrade to Ubuntu 18.04:



    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303/remctl.so' - /usr/lib/php/20160303/remctl.so: cannot open shared object file: No such file or directory in Unknown on line 0


    I tried Upgrading to 18.04 caused issue with php installation.



    When I try to run:



    sudo apt-get --purge remove php*


    I get:



    no matches found: php*


    I tried to reinstall PHP but this did not solve the problem.







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I get the following error when trying to use PHP after an upgrade to Ubuntu 18.04:



      PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303/remctl.so' - /usr/lib/php/20160303/remctl.so: cannot open shared object file: No such file or directory in Unknown on line 0


      I tried Upgrading to 18.04 caused issue with php installation.



      When I try to run:



      sudo apt-get --purge remove php*


      I get:



      no matches found: php*


      I tried to reinstall PHP but this did not solve the problem.







      share|improve this question














      I get the following error when trying to use PHP after an upgrade to Ubuntu 18.04:



      PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303/remctl.so' - /usr/lib/php/20160303/remctl.so: cannot open shared object file: No such file or directory in Unknown on line 0


      I tried Upgrading to 18.04 caused issue with php installation.



      When I try to run:



      sudo apt-get --purge remove php*


      I get:



      no matches found: php*


      I tried to reinstall PHP but this did not solve the problem.









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 15 at 6:28









      ubashu

      2,23721736




      2,23721736










      asked May 15 at 5:10









      Hamza Niem

      31




      31




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          I don't think problem is in PHP. Problem is module remctl, which cannot be loaded.



          If you do not want php-remctl module, I would suggest you just remove the ini file. It is probably in /etc/php/7.2/mods-available/. By removing the ini file PHP will no longer load that module. See what remctl packages you have installed by typing



          dpkg -l | grep remctl


          and maybe you can remove them by typing



          sudo apt remove



          After you remove the packages that do not work try



          sudo apt install php-remctl


          That should install php-remctl package for Ubuntu 18.04.






          share|improve this answer






















          • Yah i have fix it really problem with php thank u so match
            – Hamza Niem
            Aug 8 at 19:05










          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%2f1036374%2funable-to-load-dynamic-library-php-after-upgrade-to-18-04%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
          0
          down vote



          accepted










          I don't think problem is in PHP. Problem is module remctl, which cannot be loaded.



          If you do not want php-remctl module, I would suggest you just remove the ini file. It is probably in /etc/php/7.2/mods-available/. By removing the ini file PHP will no longer load that module. See what remctl packages you have installed by typing



          dpkg -l | grep remctl


          and maybe you can remove them by typing



          sudo apt remove



          After you remove the packages that do not work try



          sudo apt install php-remctl


          That should install php-remctl package for Ubuntu 18.04.






          share|improve this answer






















          • Yah i have fix it really problem with php thank u so match
            – Hamza Niem
            Aug 8 at 19:05














          up vote
          0
          down vote



          accepted










          I don't think problem is in PHP. Problem is module remctl, which cannot be loaded.



          If you do not want php-remctl module, I would suggest you just remove the ini file. It is probably in /etc/php/7.2/mods-available/. By removing the ini file PHP will no longer load that module. See what remctl packages you have installed by typing



          dpkg -l | grep remctl


          and maybe you can remove them by typing



          sudo apt remove



          After you remove the packages that do not work try



          sudo apt install php-remctl


          That should install php-remctl package for Ubuntu 18.04.






          share|improve this answer






















          • Yah i have fix it really problem with php thank u so match
            – Hamza Niem
            Aug 8 at 19:05












          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          I don't think problem is in PHP. Problem is module remctl, which cannot be loaded.



          If you do not want php-remctl module, I would suggest you just remove the ini file. It is probably in /etc/php/7.2/mods-available/. By removing the ini file PHP will no longer load that module. See what remctl packages you have installed by typing



          dpkg -l | grep remctl


          and maybe you can remove them by typing



          sudo apt remove



          After you remove the packages that do not work try



          sudo apt install php-remctl


          That should install php-remctl package for Ubuntu 18.04.






          share|improve this answer














          I don't think problem is in PHP. Problem is module remctl, which cannot be loaded.



          If you do not want php-remctl module, I would suggest you just remove the ini file. It is probably in /etc/php/7.2/mods-available/. By removing the ini file PHP will no longer load that module. See what remctl packages you have installed by typing



          dpkg -l | grep remctl


          and maybe you can remove them by typing



          sudo apt remove



          After you remove the packages that do not work try



          sudo apt install php-remctl


          That should install php-remctl package for Ubuntu 18.04.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Aug 9 at 5:12

























          answered May 15 at 6:02









          nobody

          3,034912




          3,034912











          • Yah i have fix it really problem with php thank u so match
            – Hamza Niem
            Aug 8 at 19:05
















          • Yah i have fix it really problem with php thank u so match
            – Hamza Niem
            Aug 8 at 19:05















          Yah i have fix it really problem with php thank u so match
          – Hamza Niem
          Aug 8 at 19:05




          Yah i have fix it really problem with php thank u so match
          – Hamza Niem
          Aug 8 at 19:05












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036374%2funable-to-load-dynamic-library-php-after-upgrade-to-18-04%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Unable to execute new pre-installation script (/var/lib/dpkg/tmp.ci/preinst)

          Running the scala interactive shell from the command line

          Do not install recommended packages of dependencies