CentOS Linux 5.4 -Your PHP installation appears to be missing the MySQL extension which is required by WordPressCentOS 7.2, PHP 5.4 - MySQL extension is missingphp manual install; path to apxs2/mysql?Installing Wordpress in Rails /public - missing mysql extensionCentOS 5.5 - configuring mysql with php, missing mysql.soDrupal7 doesn't detect MySQL on CentOS, but Wordpress3 does?mysql cannot start because of init.d folder?How to enabled pdo mysql in Centos 5.8Error when install Wordpress with mariadb “Your PHP installation appears to be missing the MySQL extension which is required by WordPress.”Centos Your PHP MySQL library version 1.5.73 differs from your MySQL server version 5.5.39MySQL exits without any outputCentOS 7.2, PHP 5.4 - MySQL extension is missing

Where to refill my bottle in India?

Information to fellow intern about hiring?

Is every set a filtered colimit of finite sets?

What is the command to reset a PC without deleting any files

New order #4: World

How to answer pointed "are you quitting" questioning when I don't want them to suspect

When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?

Does it makes sense to buy a new cycle to learn riding?

Are white and non-white police officers equally likely to kill black suspects?

How to manage monthly salary

Lied on resume at previous job

Are cabin dividers used to "hide" the flex of the airplane?

How would photo IDs work for shapeshifters?

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

How can I add custom success page

Where else does the Shulchan Aruch quote an authority by name?

Symmetry in quantum mechanics

I see my dog run

What causes the sudden spool-up sound from an F-16 when enabling afterburner?

What happens when a metallic dragon and a chromatic dragon mate?

Is there any use for defining additional entity types in a SOQL FROM clause?

Doomsday-clock for my fantasy planet

Why do we use polarized capacitors?

Is Social Media Science Fiction?



CentOS Linux 5.4 -Your PHP installation appears to be missing the MySQL extension which is required by WordPress


CentOS 7.2, PHP 5.4 - MySQL extension is missingphp manual install; path to apxs2/mysql?Installing Wordpress in Rails /public - missing mysql extensionCentOS 5.5 - configuring mysql with php, missing mysql.soDrupal7 doesn't detect MySQL on CentOS, but Wordpress3 does?mysql cannot start because of init.d folder?How to enabled pdo mysql in Centos 5.8Error when install Wordpress with mariadb “Your PHP installation appears to be missing the MySQL extension which is required by WordPress.”Centos Your PHP MySQL library version 1.5.73 differs from your MySQL server version 5.5.39MySQL exits without any outputCentOS 7.2, PHP 5.4 - MySQL extension is missing






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I have just upgraded to PHP Version 5.3.3, on my CentOS Linux 5.4, when i tried to install wordpress it says



Your PHP installation appears to be missing the MySQL extension which is required by WordPress.



Here is my php.ini file



./configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--without-sqlite3' '--disable-phar' '--disable-fileinfo' '--disable-json' '--without-pspell' '--disable-wddx' '--without-curl' '--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem'
Server API Apache 2.0 Handler



How to solve this issue ?










share|improve this question






















  • That looks like a ./configure commandline, not php.ini. Did you compile it yourself or install this from a package?

    – DerfK
    Sep 3 '11 at 11:32

















1















I have just upgraded to PHP Version 5.3.3, on my CentOS Linux 5.4, when i tried to install wordpress it says



Your PHP installation appears to be missing the MySQL extension which is required by WordPress.



Here is my php.ini file



./configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--without-sqlite3' '--disable-phar' '--disable-fileinfo' '--disable-json' '--without-pspell' '--disable-wddx' '--without-curl' '--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem'
Server API Apache 2.0 Handler



How to solve this issue ?










share|improve this question






















  • That looks like a ./configure commandline, not php.ini. Did you compile it yourself or install this from a package?

    – DerfK
    Sep 3 '11 at 11:32













1












1








1








I have just upgraded to PHP Version 5.3.3, on my CentOS Linux 5.4, when i tried to install wordpress it says



Your PHP installation appears to be missing the MySQL extension which is required by WordPress.



Here is my php.ini file



./configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--without-sqlite3' '--disable-phar' '--disable-fileinfo' '--disable-json' '--without-pspell' '--disable-wddx' '--without-curl' '--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem'
Server API Apache 2.0 Handler



How to solve this issue ?










share|improve this question














I have just upgraded to PHP Version 5.3.3, on my CentOS Linux 5.4, when i tried to install wordpress it says



Your PHP installation appears to be missing the MySQL extension which is required by WordPress.



Here is my php.ini file



./configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--without-sqlite3' '--disable-phar' '--disable-fileinfo' '--disable-json' '--without-pspell' '--disable-wddx' '--without-curl' '--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem'
Server API Apache 2.0 Handler



How to solve this issue ?







mysql centos5






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 3 '11 at 10:01









nileshnilesh

83




83












  • That looks like a ./configure commandline, not php.ini. Did you compile it yourself or install this from a package?

    – DerfK
    Sep 3 '11 at 11:32

















  • That looks like a ./configure commandline, not php.ini. Did you compile it yourself or install this from a package?

    – DerfK
    Sep 3 '11 at 11:32
















That looks like a ./configure commandline, not php.ini. Did you compile it yourself or install this from a package?

– DerfK
Sep 3 '11 at 11:32





That looks like a ./configure commandline, not php.ini. Did you compile it yourself or install this from a package?

– DerfK
Sep 3 '11 at 11:32










2 Answers
2






active

oldest

votes


















2














Make sure that MySQL module for php (php-mysql) is installed:



rpm -qa | grep mysql


and you have following in /etc/php.d/mysql.ini or /etc/php.ini:



extension=mysql.so





share|improve this answer






























    1














    I got the same problem but it might be different now because it is now 2019 but maybe the solution I presented below might help in case you encounter the same issue. PHP version 5.6 and below is no longer supported in PHP community so it was advised to upgrade to version 7.2 and up. In case of wordpress, old version are using mysql extension but PHP 7.2 version are no longer supported it, mysqli extention was now been used by PHP version 7.2. So older version of wordpress will encounter this problem if PHP versio is upgraded to 7.2.



    So this is what happened. When I upgraded my website from PHP version 5.6 to 7.2, I encountered this problem “Your PHP installation appears to be missing the MySQL extension which is required by WordPress”. It turns out that mysql extension is no longer supported in php version 7.2. It is now using mysqli extension. I am using old version of wordpress which still using mysql extension that is why the problem existed. So what I did is upgraded the wordpress core. This solve the problem.



    Here's the steps I followed when upgrading wordpress manually.



    1. First I created a full backup of my website. This is very important in case of mistake.

    2. I download the newest WordPress ZIP file from wordpress.org.

    3. I unzipped the file into a local directory of my computer.

    4. I went to my website root directory and deleted your ‘wp-includes’ and ‘wp-admin’ directories. I used sFTP connection using Filezilla software.

    5. I uploaded the new wp-includes and wp-admin directories from the new version of WordPress I unzipped to my website root directory and replaced the directories I just deleted.

    6. I did not delete the wp-content directory or any of the files in that directory. I just copied over the files from the wp-content directory in the new version of WordPress to my existing wp-content directory. All existing files with the same name have been overwritten.

    7. I copied all files from the root (‘/’) directory of the new version of WordPress that I unzipped into my website root directory (or the root directory of your WordPress installation). Existing files has been overwritten and new files has been copied across. wp-config.php file was not be affected because WordPress has never distributed with a wp-config.php file.

    8. I compare wp-config-sample.php which wass distributed with WordPress but did not find anything to change so I just used the old one.

    9. I cleared my browser cache to ensure I can see all changes.

    10. I checked the site and there is no error now. Thanks God the upgrade was completed.





    share|improve this answer










    New contributor




    Jason Torremocha 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: "2"
      ;
      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%2fserverfault.com%2fquestions%2f307852%2fcentos-linux-5-4-your-php-installation-appears-to-be-missing-the-mysql-extensio%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









      2














      Make sure that MySQL module for php (php-mysql) is installed:



      rpm -qa | grep mysql


      and you have following in /etc/php.d/mysql.ini or /etc/php.ini:



      extension=mysql.so





      share|improve this answer



























        2














        Make sure that MySQL module for php (php-mysql) is installed:



        rpm -qa | grep mysql


        and you have following in /etc/php.d/mysql.ini or /etc/php.ini:



        extension=mysql.so





        share|improve this answer

























          2












          2








          2







          Make sure that MySQL module for php (php-mysql) is installed:



          rpm -qa | grep mysql


          and you have following in /etc/php.d/mysql.ini or /etc/php.ini:



          extension=mysql.so





          share|improve this answer













          Make sure that MySQL module for php (php-mysql) is installed:



          rpm -qa | grep mysql


          and you have following in /etc/php.d/mysql.ini or /etc/php.ini:



          extension=mysql.so






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 3 '11 at 10:22









          quantaquanta

          43.4k15114196




          43.4k15114196























              1














              I got the same problem but it might be different now because it is now 2019 but maybe the solution I presented below might help in case you encounter the same issue. PHP version 5.6 and below is no longer supported in PHP community so it was advised to upgrade to version 7.2 and up. In case of wordpress, old version are using mysql extension but PHP 7.2 version are no longer supported it, mysqli extention was now been used by PHP version 7.2. So older version of wordpress will encounter this problem if PHP versio is upgraded to 7.2.



              So this is what happened. When I upgraded my website from PHP version 5.6 to 7.2, I encountered this problem “Your PHP installation appears to be missing the MySQL extension which is required by WordPress”. It turns out that mysql extension is no longer supported in php version 7.2. It is now using mysqli extension. I am using old version of wordpress which still using mysql extension that is why the problem existed. So what I did is upgraded the wordpress core. This solve the problem.



              Here's the steps I followed when upgrading wordpress manually.



              1. First I created a full backup of my website. This is very important in case of mistake.

              2. I download the newest WordPress ZIP file from wordpress.org.

              3. I unzipped the file into a local directory of my computer.

              4. I went to my website root directory and deleted your ‘wp-includes’ and ‘wp-admin’ directories. I used sFTP connection using Filezilla software.

              5. I uploaded the new wp-includes and wp-admin directories from the new version of WordPress I unzipped to my website root directory and replaced the directories I just deleted.

              6. I did not delete the wp-content directory or any of the files in that directory. I just copied over the files from the wp-content directory in the new version of WordPress to my existing wp-content directory. All existing files with the same name have been overwritten.

              7. I copied all files from the root (‘/’) directory of the new version of WordPress that I unzipped into my website root directory (or the root directory of your WordPress installation). Existing files has been overwritten and new files has been copied across. wp-config.php file was not be affected because WordPress has never distributed with a wp-config.php file.

              8. I compare wp-config-sample.php which wass distributed with WordPress but did not find anything to change so I just used the old one.

              9. I cleared my browser cache to ensure I can see all changes.

              10. I checked the site and there is no error now. Thanks God the upgrade was completed.





              share|improve this answer










              New contributor




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
























                1














                I got the same problem but it might be different now because it is now 2019 but maybe the solution I presented below might help in case you encounter the same issue. PHP version 5.6 and below is no longer supported in PHP community so it was advised to upgrade to version 7.2 and up. In case of wordpress, old version are using mysql extension but PHP 7.2 version are no longer supported it, mysqli extention was now been used by PHP version 7.2. So older version of wordpress will encounter this problem if PHP versio is upgraded to 7.2.



                So this is what happened. When I upgraded my website from PHP version 5.6 to 7.2, I encountered this problem “Your PHP installation appears to be missing the MySQL extension which is required by WordPress”. It turns out that mysql extension is no longer supported in php version 7.2. It is now using mysqli extension. I am using old version of wordpress which still using mysql extension that is why the problem existed. So what I did is upgraded the wordpress core. This solve the problem.



                Here's the steps I followed when upgrading wordpress manually.



                1. First I created a full backup of my website. This is very important in case of mistake.

                2. I download the newest WordPress ZIP file from wordpress.org.

                3. I unzipped the file into a local directory of my computer.

                4. I went to my website root directory and deleted your ‘wp-includes’ and ‘wp-admin’ directories. I used sFTP connection using Filezilla software.

                5. I uploaded the new wp-includes and wp-admin directories from the new version of WordPress I unzipped to my website root directory and replaced the directories I just deleted.

                6. I did not delete the wp-content directory or any of the files in that directory. I just copied over the files from the wp-content directory in the new version of WordPress to my existing wp-content directory. All existing files with the same name have been overwritten.

                7. I copied all files from the root (‘/’) directory of the new version of WordPress that I unzipped into my website root directory (or the root directory of your WordPress installation). Existing files has been overwritten and new files has been copied across. wp-config.php file was not be affected because WordPress has never distributed with a wp-config.php file.

                8. I compare wp-config-sample.php which wass distributed with WordPress but did not find anything to change so I just used the old one.

                9. I cleared my browser cache to ensure I can see all changes.

                10. I checked the site and there is no error now. Thanks God the upgrade was completed.





                share|improve this answer










                New contributor




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






















                  1












                  1








                  1







                  I got the same problem but it might be different now because it is now 2019 but maybe the solution I presented below might help in case you encounter the same issue. PHP version 5.6 and below is no longer supported in PHP community so it was advised to upgrade to version 7.2 and up. In case of wordpress, old version are using mysql extension but PHP 7.2 version are no longer supported it, mysqli extention was now been used by PHP version 7.2. So older version of wordpress will encounter this problem if PHP versio is upgraded to 7.2.



                  So this is what happened. When I upgraded my website from PHP version 5.6 to 7.2, I encountered this problem “Your PHP installation appears to be missing the MySQL extension which is required by WordPress”. It turns out that mysql extension is no longer supported in php version 7.2. It is now using mysqli extension. I am using old version of wordpress which still using mysql extension that is why the problem existed. So what I did is upgraded the wordpress core. This solve the problem.



                  Here's the steps I followed when upgrading wordpress manually.



                  1. First I created a full backup of my website. This is very important in case of mistake.

                  2. I download the newest WordPress ZIP file from wordpress.org.

                  3. I unzipped the file into a local directory of my computer.

                  4. I went to my website root directory and deleted your ‘wp-includes’ and ‘wp-admin’ directories. I used sFTP connection using Filezilla software.

                  5. I uploaded the new wp-includes and wp-admin directories from the new version of WordPress I unzipped to my website root directory and replaced the directories I just deleted.

                  6. I did not delete the wp-content directory or any of the files in that directory. I just copied over the files from the wp-content directory in the new version of WordPress to my existing wp-content directory. All existing files with the same name have been overwritten.

                  7. I copied all files from the root (‘/’) directory of the new version of WordPress that I unzipped into my website root directory (or the root directory of your WordPress installation). Existing files has been overwritten and new files has been copied across. wp-config.php file was not be affected because WordPress has never distributed with a wp-config.php file.

                  8. I compare wp-config-sample.php which wass distributed with WordPress but did not find anything to change so I just used the old one.

                  9. I cleared my browser cache to ensure I can see all changes.

                  10. I checked the site and there is no error now. Thanks God the upgrade was completed.





                  share|improve this answer










                  New contributor




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










                  I got the same problem but it might be different now because it is now 2019 but maybe the solution I presented below might help in case you encounter the same issue. PHP version 5.6 and below is no longer supported in PHP community so it was advised to upgrade to version 7.2 and up. In case of wordpress, old version are using mysql extension but PHP 7.2 version are no longer supported it, mysqli extention was now been used by PHP version 7.2. So older version of wordpress will encounter this problem if PHP versio is upgraded to 7.2.



                  So this is what happened. When I upgraded my website from PHP version 5.6 to 7.2, I encountered this problem “Your PHP installation appears to be missing the MySQL extension which is required by WordPress”. It turns out that mysql extension is no longer supported in php version 7.2. It is now using mysqli extension. I am using old version of wordpress which still using mysql extension that is why the problem existed. So what I did is upgraded the wordpress core. This solve the problem.



                  Here's the steps I followed when upgrading wordpress manually.



                  1. First I created a full backup of my website. This is very important in case of mistake.

                  2. I download the newest WordPress ZIP file from wordpress.org.

                  3. I unzipped the file into a local directory of my computer.

                  4. I went to my website root directory and deleted your ‘wp-includes’ and ‘wp-admin’ directories. I used sFTP connection using Filezilla software.

                  5. I uploaded the new wp-includes and wp-admin directories from the new version of WordPress I unzipped to my website root directory and replaced the directories I just deleted.

                  6. I did not delete the wp-content directory or any of the files in that directory. I just copied over the files from the wp-content directory in the new version of WordPress to my existing wp-content directory. All existing files with the same name have been overwritten.

                  7. I copied all files from the root (‘/’) directory of the new version of WordPress that I unzipped into my website root directory (or the root directory of your WordPress installation). Existing files has been overwritten and new files has been copied across. wp-config.php file was not be affected because WordPress has never distributed with a wp-config.php file.

                  8. I compare wp-config-sample.php which wass distributed with WordPress but did not find anything to change so I just used the old one.

                  9. I cleared my browser cache to ensure I can see all changes.

                  10. I checked the site and there is no error now. Thanks God the upgrade was completed.






                  share|improve this answer










                  New contributor




                  Jason Torremocha 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








                  edited Apr 5 at 8:17









                  kubanczyk

                  10.5k22845




                  10.5k22845






                  New contributor




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









                  answered Apr 5 at 5:53









                  Jason TorremochaJason Torremocha

                  111




                  111




                  New contributor




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





                  New contributor





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






                  Jason Torremocha 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 Server Fault!


                      • 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%2fserverfault.com%2fquestions%2f307852%2fcentos-linux-5-4-your-php-installation-appears-to-be-missing-the-mysql-extensio%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

                      Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                      Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                      What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company