Skip to main content

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

Comments

22 comments

  • quietFinn
    You can install php-mysqlnd extension for PHP 80 in EasyApache.
    0
  • Leonidas Savvides
    1 Choose Customize from: 2022-12-05_14-42-42.png 2 Search "php-mysqlnd" at: 2022-12-05_14-35-06 (2).png 3 click Next+...Next+... to reach: 2022-12-05_14-39-23.png 4 Finally press provision at: 2022-12-05_14-40-12.png This to do????
    0
  • quietFinn
    1 Choose Customize from: 2022-12-05_14-42-42.png This to do????

    No, you must select "Currently Installed Packages" -> Customize.
    0
  • kodeslogic
    Go for Currently Installed Packages >> Customize >> PHP extensions >> php80-php-mysqlnd
    0
  • Leonidas Savvides
    Go for Currently Installed Packages >> Customize >> PHP extensions >> php80-php-mysqlnd

    I installed the php80-php-mysqlnd success... and I tried but got "...has a critical error..." when switched to the PHP 8.0.x link to:
    0
  • kodeslogic
    Do you see any errors in the error_log file?
    0
  • Leonidas Savvides
    What log file is this in the WHM or the cPanel or the Wordpress log file? And How and Where find this?
    0
  • kodeslogic
    Website error_log file is located at: /home/USERNAME/public_html/error_log
    0
  • quietFinn
    There is also another PHP error log in the wp-admin directory, worth checking.
    0
  • Leonidas Savvides
    I have tried this today in the morning... So, look for today"s logs... Are they safe to share these files.txt as they are here, in the forums - in other words, are free of passwords?
    0
  • quietFinn
    There are no passwords in error logs. Those logs can be big, no need to show more than like 50 last lines.
    0
  • Leonidas Savvides
    [lscom-xyz@253 wp-admin]$ ls | grep .log error_log [lscom-xyz@253 wp-admin]$ tail error_log #1 /home/lscom-xyz/public_html/blog/wp-settings.php(447): include_once('/home/leonidass...') #2 /home/lscom-xyz/public_html/blog/wp-config.php(103): require_once('/home/leonidass...') #3 /home/lscom-xyz/public_html/blog/wp-load.php(50): require_once('/home/leonidass...') #4 /home/lscom-xyz/public_html/blog/wp-admin/admin.php(34): require_once('/home/leonidass...') #5 /home/lscom-xyz/public_html/blog/wp-admin/update-core.php(10): require_once('/home/leonidass...') #6 {main} thrown in /home/lscom-xyz/public_html/blog/wp-content/plugins/rpx/rpx_m.php on line 98 [06-Dec-2022 08:42:43 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; RPX_Widget has a deprecated constructor in /home/lscom-xyz/public_html/blog/wp-content/plugins/rpx/rpx_v.php on line 1925 [06-Dec-2022 08:42:50 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; RPX_Widget has a deprecated constructor in /home/lscom-xyz/public_html/blog/wp-content/plugins/rpx/rpx_v.php on line 1925 [06-Dec-2022 18:22:28 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; RPX_Widget has a deprecated constructor in /home/lscom-xyz/public_html/blog/wp-content/plugins/rpx/rpx_v.php on line 1925 [lscom-xyz@253 wp-admin]$ soon the: /home/USERNAME/public_html/error_log because needs admin permissions can you make any conclusion?
    0
  • quietFinn
    Seems RPX_Widget is not compatible with PHP 8.
    0
  • Leonidas Savvides
    The RPX_Widget, Probably is a Wordpress plug-in So, can deactivate and retry?
    0
  • kodeslogic
    Yes, try disabling that plugin.
    0
  • Leonidas Savvides
    same symptom - after disabled after installing MySQL plugin from 8.0 PHP -- is it need Apache restart???
    0
  • Leonidas Savvides
    1 Another issue the: error_log is huge in size, what to do...? 2 How do view log lines of error_log - log file in between: 06-Dec-2022 08:30---06-Dec-2022 08:50...? [root@253 blog]# pwd /home/ lscom/public_html/blog [root@253 blog]# ls -la | grep error_log -rw-r--r-- 1 lscom lscom 639505787 Dec 7 22:57 error_log [root@253 blog]#
    0
  • quietFinn
    tail -n 100 error_log shows 100 last lines of error_log In fact you can delete the file, and try again, and get the errors in the log file.
    0
  • Leonidas Savvides
    Temp Can I rename this log file, so as the system: LAMP CentOS Apache PHP MySQL WordPress creates a new log file auto? And view this new file,... after some time Then, can delete the huge Logs file ... well?
    0
  • quietFinn
    if you delete or rename the error_log file a new file will be created
    0
  • Leonidas Savvides
    so as the system: LAMP CentOS Apache PHP MySQL WordPress After I have installed MySQL Extension for PHP 8.0 needed restart Apache --- to take effect, or doesn't require???
    0
  • quietFinn
    When you change something in EasyApache Apache is restarted automatically.
    0

Please sign in to leave a comment.