Make WordPress Core

Opened 3 years ago

Closed 2 years ago

#55208 closed defect (bug) (invalid)

WordPress 5.9 on PHP 8.1

Reported by: vbss2018wordpress's profile vbss2018wordpress Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.9
Component: Upgrade/Install Keywords: close
Focuses: Cc:

Description

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

Change History (4)

#1 @SergeyBiryukov
3 years ago

#55354 was marked as a duplicate.

#2 @SergeyBiryukov
3 years ago

  • Keywords php81 added

Hi there, welcome back to WordPress Trac! Thanks for the report.

Just to clarify, while WordPress 5.9.x is not fully compatible with PHP 8.1, it does succesfully run on that version in general, with some deprecation notices, as seen in automated test runs.

You can find more details in this post: WordPress 5.9 and PHP 8.0-8.1.

I think the issue might be specific to your server configuration. If you need help with your site, I would suggest trying the support forums: https://wordpress.org/support/forums/.

#51988 might also be related.

#3 @jrf
3 years ago

  • Keywords close added; php81 removed

Eh.. the MySQL extension was removed from PHP when PHP 7.0 was released.

This doesn't sound like an issue with WordPress, but as an issue with a misconfigured hosting account in which the (required) mysqli extension has not been enabled (on PHP 8.1 or at all).

You may want to have a read through the documentation on installing WordPress: https://wordpress.org/support/article/how-to-install-wordpress/

#4 @desrosj
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

I'm going to close this one out. Based on the information currently presented, there is no action that can be taken.

@vbss2018wordpress if you are still experiencing this issue, please try posting in the support forums as suggested above.

Note: See TracTickets for help on using tickets.