[wp-trac] [WordPress Trac] #51988: wordpress 5.6 not ok with php 8

WordPress Trac noreply at wordpress.org
Wed Dec 9 13:42:00 UTC 2020


#51988: wordpress 5.6 not ok with php 8
--------------------------+----------------------
 Reporter:  bgin          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Database      |     Version:  5.6
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by desrosj):

 * status:  new => closed
 * resolution:   => invalid
 * component:  General => Database
 * milestone:  Awaiting Review =>


Comment:

 Hi @bgin,

 Welcome to Trac! I'm sorry you are experiencing issues with WordPress 5.6.
 However, this Trac instance is not for general support requests.

 The information provided is also not enough to begin troubleshooting your
 exact issue.

 However, this does not appear to be an issue with PHP 8. The
 `mysql_connect()` function was deprecated in PHP 5.5 and removed in 7.0.0
 ([https://www.php.net/manual/en/function.mysql-connect.php see the PHP
 documentation]). It's possible that the PHP installation you have set up
 in XAMPP is not built correctly, causing WordPress to incorrectly use
 `mysql` instead of `mysqli`, which
 [https://www.php.net/manual/en/book.mysqli.phpreplaced the original
 extension].

 If you require further support, I recommend opening a support topic in the
 [https://wordpress.org/support/forums/ WordPress.org Support Forums].

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51988#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list