phpMyAdmin message “The mbstring extension is missing.” but php7.1-mbstring is installed ...

Using "nakedly" instead of "with nothing on"

3 doors, three guards, one stone

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

Can a monk deflect thrown melee weapons?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

What do you call a plan that's an alternative plan in case your initial plan fails?

What loss function to use when labels are probabilities?

Why does tar appear to skip file contents when output file is /dev/null?

I'm having difficulty getting my players to do stuff in a sandbox campaign

Cold is to Refrigerator as warm is to?

Stars Make Stars

How to rotate it perfectly?

What did Darwin mean by 'squib' here?

If I can make up priors, why can't I make up posteriors?

Determine whether f is a function, an injection, a surjection

Complexity of many constant time steps with occasional logarithmic steps

What to do with post with dry rot?

Why use gamma over alpha radiation?

When is phishing education going too far?

Typsetting diagram chases (with TikZ?)

Why is "Captain Marvel" translated as male in Portugal?

What items from the Roman-age tech-level could be used to deter all creatures from entering a small area?

What is the order of Mitzvot in Rambam's Sefer Hamitzvot?

How to say 'striped' in Latin



phpMyAdmin message “The mbstring extension is missing.” but php7.1-mbstring is installed



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Phpmyadmin doesn't work with other user than www-data?Apache2 always opens the default website on localhostApache2 and Mysql gone wrong after upgrade to 16.04Mbstring extension missing phpmyadminaccess phpmyadmin on localhost & reconfigure phpmyadmin: ERROR 1045 (28000): Access denied for user 'root'@'localhost'why browser show an empty screen when i start PHP test-script in Ubuntu 16.04?PhpMyAdmin missing Text_Plain_Preappend_getInfo() functionphp7 on 16.04 not working after reinstall of ApachePHP in LAMP first display in plain text, now it can't find file, nothing helpsInstallation of Opensis with XAMPP 7.2.13-0 on Ubuntu 18.04





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







0
















  • Ubuntu 16.04

  • Apache 2.?

  • MariaDB 10.0

  • PHP 7.1

  • phpMyAdmin ?


The apache2 "It works!" page appeared when I used a web browser to go to



http://localhost/


But when I browsed



http://localhost/phpmyadmin


the phpMyAdmin icon appeared in the browser title bar and the message "The mbstring extension is missing." appeared in the canvas. I tried



http://localhost/phpmyadmin/index.php


and got the same thing. However, php7.1-mbstring is installed!



In Nautilus, I browsed to /var/www/html, that is, DocRoot, but there is no phpmyadmin/ folder there! Shouldn't there be a phpmyadmin/index.php file in the doc root (web root?)?



How come I am even getting a message from phpMyAdmin in the browser? And how do I fix the mbstring issue?










share|improve this question

























  • The /etc/apache2/conf-enabled/phpmyadmin.conf file sets up a redirect to /usr/share/phpmyadmin when you access http://localhost/phpmyadmin. But I still don't know how to fix the error message about php-mbstring missing when it is actually present.

    – Hedley Finger
    Dec 30 '16 at 3:59













  • My question about the location of the phpMyAdmin is a duplicate of link, although the answers to that question suggest creating a symbolic link at DocRoot to /usr/share/phpmyadmin.

    – Hedley Finger
    Dec 30 '16 at 4:14











  • How did you install phpmyadmin, this will determine where your phpmyadmin/index.php is. But I suspect you installed it usingsudo apt install phpmyadmin so it should be in that link in your comment. For the module issue creating a info.php with this content <?php echo phpinfo(); ?> and place it in /var/www/html/ then access it in the browser like so localhost/info.php and check to see if that module is enabled.

    – George Udosen
    Dec 30 '16 at 7:15













  • try this sudo a2enmod mbstring and re-check

    – George Udosen
    Dec 30 '16 at 9:55




















0
















  • Ubuntu 16.04

  • Apache 2.?

  • MariaDB 10.0

  • PHP 7.1

  • phpMyAdmin ?


The apache2 "It works!" page appeared when I used a web browser to go to



http://localhost/


But when I browsed



http://localhost/phpmyadmin


the phpMyAdmin icon appeared in the browser title bar and the message "The mbstring extension is missing." appeared in the canvas. I tried



http://localhost/phpmyadmin/index.php


and got the same thing. However, php7.1-mbstring is installed!



In Nautilus, I browsed to /var/www/html, that is, DocRoot, but there is no phpmyadmin/ folder there! Shouldn't there be a phpmyadmin/index.php file in the doc root (web root?)?



How come I am even getting a message from phpMyAdmin in the browser? And how do I fix the mbstring issue?










share|improve this question

























  • The /etc/apache2/conf-enabled/phpmyadmin.conf file sets up a redirect to /usr/share/phpmyadmin when you access http://localhost/phpmyadmin. But I still don't know how to fix the error message about php-mbstring missing when it is actually present.

    – Hedley Finger
    Dec 30 '16 at 3:59













  • My question about the location of the phpMyAdmin is a duplicate of link, although the answers to that question suggest creating a symbolic link at DocRoot to /usr/share/phpmyadmin.

    – Hedley Finger
    Dec 30 '16 at 4:14











  • How did you install phpmyadmin, this will determine where your phpmyadmin/index.php is. But I suspect you installed it usingsudo apt install phpmyadmin so it should be in that link in your comment. For the module issue creating a info.php with this content <?php echo phpinfo(); ?> and place it in /var/www/html/ then access it in the browser like so localhost/info.php and check to see if that module is enabled.

    – George Udosen
    Dec 30 '16 at 7:15













  • try this sudo a2enmod mbstring and re-check

    – George Udosen
    Dec 30 '16 at 9:55
















0












0








0


1







  • Ubuntu 16.04

  • Apache 2.?

  • MariaDB 10.0

  • PHP 7.1

  • phpMyAdmin ?


The apache2 "It works!" page appeared when I used a web browser to go to



http://localhost/


But when I browsed



http://localhost/phpmyadmin


the phpMyAdmin icon appeared in the browser title bar and the message "The mbstring extension is missing." appeared in the canvas. I tried



http://localhost/phpmyadmin/index.php


and got the same thing. However, php7.1-mbstring is installed!



In Nautilus, I browsed to /var/www/html, that is, DocRoot, but there is no phpmyadmin/ folder there! Shouldn't there be a phpmyadmin/index.php file in the doc root (web root?)?



How come I am even getting a message from phpMyAdmin in the browser? And how do I fix the mbstring issue?










share|improve this question

















  • Ubuntu 16.04

  • Apache 2.?

  • MariaDB 10.0

  • PHP 7.1

  • phpMyAdmin ?


The apache2 "It works!" page appeared when I used a web browser to go to



http://localhost/


But when I browsed



http://localhost/phpmyadmin


the phpMyAdmin icon appeared in the browser title bar and the message "The mbstring extension is missing." appeared in the canvas. I tried



http://localhost/phpmyadmin/index.php


and got the same thing. However, php7.1-mbstring is installed!



In Nautilus, I browsed to /var/www/html, that is, DocRoot, but there is no phpmyadmin/ folder there! Shouldn't there be a phpmyadmin/index.php file in the doc root (web root?)?



How come I am even getting a message from phpMyAdmin in the browser? And how do I fix the mbstring issue?







apache2 phpmyadmin mariadb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 30 '16 at 2:41







Hedley Finger

















asked Dec 30 '16 at 2:34









Hedley FingerHedley Finger

1691217




1691217













  • The /etc/apache2/conf-enabled/phpmyadmin.conf file sets up a redirect to /usr/share/phpmyadmin when you access http://localhost/phpmyadmin. But I still don't know how to fix the error message about php-mbstring missing when it is actually present.

    – Hedley Finger
    Dec 30 '16 at 3:59













  • My question about the location of the phpMyAdmin is a duplicate of link, although the answers to that question suggest creating a symbolic link at DocRoot to /usr/share/phpmyadmin.

    – Hedley Finger
    Dec 30 '16 at 4:14











  • How did you install phpmyadmin, this will determine where your phpmyadmin/index.php is. But I suspect you installed it usingsudo apt install phpmyadmin so it should be in that link in your comment. For the module issue creating a info.php with this content <?php echo phpinfo(); ?> and place it in /var/www/html/ then access it in the browser like so localhost/info.php and check to see if that module is enabled.

    – George Udosen
    Dec 30 '16 at 7:15













  • try this sudo a2enmod mbstring and re-check

    – George Udosen
    Dec 30 '16 at 9:55





















  • The /etc/apache2/conf-enabled/phpmyadmin.conf file sets up a redirect to /usr/share/phpmyadmin when you access http://localhost/phpmyadmin. But I still don't know how to fix the error message about php-mbstring missing when it is actually present.

    – Hedley Finger
    Dec 30 '16 at 3:59













  • My question about the location of the phpMyAdmin is a duplicate of link, although the answers to that question suggest creating a symbolic link at DocRoot to /usr/share/phpmyadmin.

    – Hedley Finger
    Dec 30 '16 at 4:14











  • How did you install phpmyadmin, this will determine where your phpmyadmin/index.php is. But I suspect you installed it usingsudo apt install phpmyadmin so it should be in that link in your comment. For the module issue creating a info.php with this content <?php echo phpinfo(); ?> and place it in /var/www/html/ then access it in the browser like so localhost/info.php and check to see if that module is enabled.

    – George Udosen
    Dec 30 '16 at 7:15













  • try this sudo a2enmod mbstring and re-check

    – George Udosen
    Dec 30 '16 at 9:55



















The /etc/apache2/conf-enabled/phpmyadmin.conf file sets up a redirect to /usr/share/phpmyadmin when you access http://localhost/phpmyadmin. But I still don't know how to fix the error message about php-mbstring missing when it is actually present.

– Hedley Finger
Dec 30 '16 at 3:59







The /etc/apache2/conf-enabled/phpmyadmin.conf file sets up a redirect to /usr/share/phpmyadmin when you access http://localhost/phpmyadmin. But I still don't know how to fix the error message about php-mbstring missing when it is actually present.

– Hedley Finger
Dec 30 '16 at 3:59















My question about the location of the phpMyAdmin is a duplicate of link, although the answers to that question suggest creating a symbolic link at DocRoot to /usr/share/phpmyadmin.

– Hedley Finger
Dec 30 '16 at 4:14





My question about the location of the phpMyAdmin is a duplicate of link, although the answers to that question suggest creating a symbolic link at DocRoot to /usr/share/phpmyadmin.

– Hedley Finger
Dec 30 '16 at 4:14













How did you install phpmyadmin, this will determine where your phpmyadmin/index.php is. But I suspect you installed it usingsudo apt install phpmyadmin so it should be in that link in your comment. For the module issue creating a info.php with this content <?php echo phpinfo(); ?> and place it in /var/www/html/ then access it in the browser like so localhost/info.php and check to see if that module is enabled.

– George Udosen
Dec 30 '16 at 7:15







How did you install phpmyadmin, this will determine where your phpmyadmin/index.php is. But I suspect you installed it usingsudo apt install phpmyadmin so it should be in that link in your comment. For the module issue creating a info.php with this content <?php echo phpinfo(); ?> and place it in /var/www/html/ then access it in the browser like so localhost/info.php and check to see if that module is enabled.

– George Udosen
Dec 30 '16 at 7:15















try this sudo a2enmod mbstring and re-check

– George Udosen
Dec 30 '16 at 9:55







try this sudo a2enmod mbstring and re-check

– George Udosen
Dec 30 '16 at 9:55












2 Answers
2






active

oldest

votes


















0














I had the same issue, mbstring for PHP 7.1 was installed and enabled yet phpmyadmin was telling me otherwise.



We were both right, mbstring for 7.1 was installed but apache was running on PHP7.0 after the upgrade, so I swapped PHP versions...



a2dismod php7.0
a2enmod PHP7.1



restarted apache2 and all was good.
(this happened right after a release-upgrade to 17.10 which reported some issues)






share|improve this answer
























  • How did you determine which version Apache was using?

    – Hedley Finger
    Mar 27 '18 at 10:23











  • I ran phpinfo() in a browser >> PHP Version 7.1.15-0ubuntu0.17.10.1

    – Simon Wheeler
    Mar 29 '18 at 0:56





















0














sudo a2dismod php7.0 a2enmod php7.3



worked for me, I had installed php7.0 just before realizing I needed 7.3 and had to remove it but I had a feeling something was still referring to the old php, this fixed it.





share








New contributor




Chawker21 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%2f866004%2fphpmyadmin-message-the-mbstring-extension-is-missing-but-php7-1-mbstring-is-i%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














    I had the same issue, mbstring for PHP 7.1 was installed and enabled yet phpmyadmin was telling me otherwise.



    We were both right, mbstring for 7.1 was installed but apache was running on PHP7.0 after the upgrade, so I swapped PHP versions...



    a2dismod php7.0
    a2enmod PHP7.1



    restarted apache2 and all was good.
    (this happened right after a release-upgrade to 17.10 which reported some issues)






    share|improve this answer
























    • How did you determine which version Apache was using?

      – Hedley Finger
      Mar 27 '18 at 10:23











    • I ran phpinfo() in a browser >> PHP Version 7.1.15-0ubuntu0.17.10.1

      – Simon Wheeler
      Mar 29 '18 at 0:56


















    0














    I had the same issue, mbstring for PHP 7.1 was installed and enabled yet phpmyadmin was telling me otherwise.



    We were both right, mbstring for 7.1 was installed but apache was running on PHP7.0 after the upgrade, so I swapped PHP versions...



    a2dismod php7.0
    a2enmod PHP7.1



    restarted apache2 and all was good.
    (this happened right after a release-upgrade to 17.10 which reported some issues)






    share|improve this answer
























    • How did you determine which version Apache was using?

      – Hedley Finger
      Mar 27 '18 at 10:23











    • I ran phpinfo() in a browser >> PHP Version 7.1.15-0ubuntu0.17.10.1

      – Simon Wheeler
      Mar 29 '18 at 0:56
















    0












    0








    0







    I had the same issue, mbstring for PHP 7.1 was installed and enabled yet phpmyadmin was telling me otherwise.



    We were both right, mbstring for 7.1 was installed but apache was running on PHP7.0 after the upgrade, so I swapped PHP versions...



    a2dismod php7.0
    a2enmod PHP7.1



    restarted apache2 and all was good.
    (this happened right after a release-upgrade to 17.10 which reported some issues)






    share|improve this answer













    I had the same issue, mbstring for PHP 7.1 was installed and enabled yet phpmyadmin was telling me otherwise.



    We were both right, mbstring for 7.1 was installed but apache was running on PHP7.0 after the upgrade, so I swapped PHP versions...



    a2dismod php7.0
    a2enmod PHP7.1



    restarted apache2 and all was good.
    (this happened right after a release-upgrade to 17.10 which reported some issues)







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Mar 26 '18 at 5:48









    Simon WheelerSimon Wheeler

    11




    11













    • How did you determine which version Apache was using?

      – Hedley Finger
      Mar 27 '18 at 10:23











    • I ran phpinfo() in a browser >> PHP Version 7.1.15-0ubuntu0.17.10.1

      – Simon Wheeler
      Mar 29 '18 at 0:56





















    • How did you determine which version Apache was using?

      – Hedley Finger
      Mar 27 '18 at 10:23











    • I ran phpinfo() in a browser >> PHP Version 7.1.15-0ubuntu0.17.10.1

      – Simon Wheeler
      Mar 29 '18 at 0:56



















    How did you determine which version Apache was using?

    – Hedley Finger
    Mar 27 '18 at 10:23





    How did you determine which version Apache was using?

    – Hedley Finger
    Mar 27 '18 at 10:23













    I ran phpinfo() in a browser >> PHP Version 7.1.15-0ubuntu0.17.10.1

    – Simon Wheeler
    Mar 29 '18 at 0:56







    I ran phpinfo() in a browser >> PHP Version 7.1.15-0ubuntu0.17.10.1

    – Simon Wheeler
    Mar 29 '18 at 0:56















    0














    sudo a2dismod php7.0 a2enmod php7.3



    worked for me, I had installed php7.0 just before realizing I needed 7.3 and had to remove it but I had a feeling something was still referring to the old php, this fixed it.





    share








    New contributor




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

























      0














      sudo a2dismod php7.0 a2enmod php7.3



      worked for me, I had installed php7.0 just before realizing I needed 7.3 and had to remove it but I had a feeling something was still referring to the old php, this fixed it.





      share








      New contributor




      Chawker21 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







        sudo a2dismod php7.0 a2enmod php7.3



        worked for me, I had installed php7.0 just before realizing I needed 7.3 and had to remove it but I had a feeling something was still referring to the old php, this fixed it.





        share








        New contributor




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










        sudo a2dismod php7.0 a2enmod php7.3



        worked for me, I had installed php7.0 just before realizing I needed 7.3 and had to remove it but I had a feeling something was still referring to the old php, this fixed it.






        share








        New contributor




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








        share


        share






        New contributor




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









        answered 5 mins ago









        Chawker21Chawker21

        11




        11




        New contributor




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





        New contributor





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






        Chawker21 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%2f866004%2fphpmyadmin-message-the-mbstring-extension-is-missing-but-php7-1-mbstring-is-i%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

            Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

            Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

            Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...