phpMyAdmin message “The mbstring extension is missing.” but php7.1-mbstring is installedPhpmyadmin doesn't work with other user than www-data?Apache2 always opens the default website on localhosthow to add a user directory in apache on ubuntuApache2 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'PhpMyAdmin missing Text_Plain_Preappend_getInfo() functionphpMyAdmin mbstring is missingInstallation of Opensis with XAMPP 7.2.13-0 on Ubuntu 18.04Php 7.2.15 doesn't load correctly

Is refreshing multiple times a test case for web applications?

What does Apple mean by "This may decrease battery life"?

Tikzpicture - finish drawing a curved line for a cake slice

In SQL Server, why does backward scan of clustered index cannot use parallelism?

Why are Gatwick's runways too close together?

Continuous vertical line using booktabs in tabularx table?

Why do oscilloscopes use SMPSes instead of linear power supplies?

How to avoid the "need" to learn more before conducting research?

The cat ate your input again!

Who are these characters/superheroes in the posters from Chris's room in Family Guy?

Is it okay for a ticket seller to grab a tip in the USA?

Is there a way to unplug the Raspberry pi safely without shutting down

Can the ground attached to neutral fool a receptacle tester?

How can Radagast come across Gandalf and Thorin's company?

What gave Harry Potter the idea of writing in Tom Riddle's diary?

How many different ways are there to checkmate in the early game?

Write an interpreter for *

Can a fight scene, component-wise, be too complex and complicated?

Double redundancy for the Saturn V LVDC computer memory, how were disagreements resolved?

What is my malfunctioning AI harvesting from humans?

How can I shift my job responsibilities back to programming?

Generate Brainfuck for the numbers 1–255

Why did Gandalf use a sword against the Balrog?

Why did the RAAF procure the F/A-18 despite being purpose-built for carriers?



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


Phpmyadmin doesn't work with other user than www-data?Apache2 always opens the default website on localhosthow to add a user directory in apache on ubuntuApache2 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'PhpMyAdmin missing Text_Plain_Preappend_getInfo() functionphpMyAdmin mbstring is missingInstallation of Opensis with XAMPP 7.2.13-0 on Ubuntu 18.04Php 7.2.15 doesn't load correctly






.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

1891 gold badge3 silver badges17 bronze badges




1891 gold badge3 silver badges17 bronze badges















  • 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














sudo a2dismod php7.0
sudo 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|improve this answer


































    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














    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














    sudo a2dismod php7.0
    sudo 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|improve this answer































      0














      sudo a2dismod php7.0
      sudo 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|improve this answer





























        0












        0








        0







        sudo a2dismod php7.0
        sudo 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|improve this answer















        sudo a2dismod php7.0
        sudo 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|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 15 at 13:35









        Eric Carvalho

        43.8k17 gold badges120 silver badges150 bronze badges




        43.8k17 gold badges120 silver badges150 bronze badges










        answered Apr 15 at 5:43









        Chawker21Chawker21

        11 bronze badge




        11 bronze badge


























            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








            edited Apr 15 at 13:36









            Eric Carvalho

            43.8k17 gold badges120 silver badges150 bronze badges




            43.8k17 gold badges120 silver badges150 bronze badges










            answered Mar 26 '18 at 5:48









            Simon WheelerSimon Wheeler

            112 bronze badges




            112 bronze badges















            • 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


















            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

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?