error: Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
I had:
PHP Version 7.4.33 and WordPress 5.9.5
Updated WP 6.1.1
>>>
Updated to PHP 8.0.25
Success: Successfully applied PHP version "PHP 8.0 (ea-php80)" to the selected domain.
>>>
PHP Version 8.0.25
>>>
I have gone to the WP home Blog home page and:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
Reverted to PHP Version 7.4.33
then all back, all OK
Where is the problem?
Is the screenshot attached of any help?
-
You can install php-mysqlnd extension for PHP 80 in EasyApache. 0 -
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 -
1 Choose Customize from: 2022-12-05_14-42-42.png This to do????
No, you must select "Currently Installed Packages" -> Customize.0 -
Go for Currently Installed Packages >> Customize >> PHP extensions >> php80-php-mysqlnd 0 -
Do you see any errors in the error_log file? 0 -
What log file is this in the WHM or the cPanel or the Wordpress log file? And How and Where find this? 0 -
Website error_log file is located at: /home/USERNAME/public_html/error_log
0 -
There is also another PHP error log in the wp-admin directory, worth checking. 0 -
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 -
There are no passwords in error logs. Those logs can be big, no need to show more than like 50 last lines. 0 -
[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 -
Seems RPX_Widget is not compatible with PHP 8. 0 -
The RPX_Widget, Probably is a Wordpress plug-in So, can deactivate and retry? 0 -
Yes, try disabling that plugin. 0 -
same symptom - after disabled after installing MySQL plugin from 8.0 PHP -- is it need Apache restart??? 0 -
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 -
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 -
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 -
if you delete or rename the error_log file a new file will be created 0 -
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 -
When you change something in EasyApache Apache is restarted automatically. 0
Please sign in to leave a comment.
Comments
22 comments