[php-src] Issue #14908: Failed to make extensions `mysqli`
| From: | WenisOK | Date: | Wed, 10 Jul 2024 21:17:23 +0000 |
| Subject: | [php-src] Issue #14908: Failed to make extensions `mysqli` | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247267@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/14908
Author: WenisOK
### Description
in make test, thorw any same errors, such as
Fatal error: Uncaught Error: Class
"mysqli_driver" not found in /root/php-8.3.9/ext/mysqli/tests/connect.inc:9
see more please read attached file.
[php_test_results_20240710_2111.txt](https://github.com/user-attachments/files/16169019/php_test_results_20240710_2111.txt)
The following code:
```php
<?php
$conn = mysqli_connect("localhost","user", "password");
if ($conn) {
echo "Connect successful";
} else {
echo "Connect failed";
}
```
Resulted in this output:
```
PHP Warning: Packets out of order. Expected 3 received 2. Packet size=22 in
/work/nginx/html/blog/test.php on line 3
PHP Fatal error: Uncaught mysqli_sql_exception: MySQL server has gone away in
/work/nginx/html/blog/test.php:3
Stack trace:
#0 /work/nginx/html/blog/test.php(3): mysqli_connect()
#1 {main}
thrown in /work/nginx/html/blog/test.php on line 3
```
### PHP Version
PHP 8.3.9
### Operating System
Debian 12.5