Make WordPress Core

Opened 9 months ago

Last modified 9 months ago

#58965 new defect (bug)

No luck running WP when running PHP 8.2.8 + mysql Ver 15.1

Reported by: boyz2men's profile boyz2men Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.2.2
Component: Database Keywords:
Focuses: Cc:


Welp, cannot figure out how to get the latest version of WP installed...when I load it I get this error message:

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
Please check that the mysqli PHP extension is installed and enabled.

I am using php-fpm and can see I have enabled: mysqlnd, pdo, pdo_mysql

Obv can't run mysqli I am not even sure why I am seeing this mysqli error?

Anyone know how to work around it? Hopefully, it's just something dumb on my part but I am a bit restricted on the server this is running.

Attachments (2)

PHP 8.2.8 - phpinfo().pdf (299.5 KB) - added by boyz2men 9 months ago.
PHP info in PDF
PHP 8.2.8 - phpinfo().html (94.8 KB) - added by boyz2men 9 months ago.
PHP info in HTML

Download all attachments as: .zip

Change History (4)

9 months ago

PHP info in PDF

9 months ago

PHP info in HTML

#1 @SergeyBiryukov
9 months ago

  • Component changed from General to Database

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

Looking at the provided phpinfo(), it appears that PHP was for some reason compiled without the mysqli extension on your install, specifically it has --without-mysqli flag in the Configure Command section of phpinfo().

Obv can't run mysqli anymore...

The mysqli extension is still supported on PHP 8.2 (unless explicitly disabled) and is required to run WordPress.

#2 @boyz2men
9 months ago

Thanks for the quick reply, Sergey! I was afraid that was the root issue. Unfortunately, I cannot enable mysqli extension in php-fpm (and am not allowed to modify php.ini) so I just asked my server provider if they'll consider enabling it in php-ini for me. Fingers crossed.

Note: See TracTickets for help on using tickets.