Control: severity -1 normal
Hi,
have you actually read the upgrade guide?
Package: php8.2-odbcVersion: 8.2.1-1Severity: graveX-Debbugs-Cc: [email protected]Hello,There seems to be a regression with php8.2-odbc, compared to php8.1-odbc:$ cat /tmp/test-php_odbc.php<?php// setup database connection$u = getenv('DB_USERNAME');$p = getenv('DB_PASSWORD');$server = getenv('DB_HOSTNAME');$dsn = "DRIVER=FreeTDS;Server=$server;Port=1433";$pdo = new \PDO("odbc:$dsn", $u, $p);$pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);print("Connected!\n");$ php8.1 /tmp/test-php_odbc.phpConnected!$ php8.2 /tmp/test-php_odbc.phpPHP Fatal error: Uncaught PDOException: SQLSTATE[42000] SQLDriverConnect: 18456 [FreeTDS][SQL Server]Login failed for user 'kbUnitTests'. in /tmp/test-php_odbc.php:7Stack trace:#0 /tmp/test-php_odbc.php(7): PDO->__construct()#1 {main} thrown in /tmp/test-php_odbc.php on line 7$ dpkg -l php\* | grep ^iii php-common 2:92+nmu1 all Common files for PHP packagesii php8.1-cli 8.1.12-1+b1 amd64 command-line interpreter for the PHP scripting languageii php8.1-common 8.1.12-1+b1 amd64 documentation, examples and common module for PHPii php8.1-odbc 8.1.12-1+b1 amd64 ODBC module for PHPii php8.1-opcache 8.1.12-1+b1 amd64 Zend OpCache module for PHPii php8.1-readline 8.1.12-1+b1 amd64 readline module for PHPii php8.2-cli 8.2.1-1 amd64 command-line interpreter for the PHP scripting languageii php8.2-common 8.2.1-1 amd64 documentation, examples and common module for PHPii php8.2-odbc 8.2.1-1 amd64 ODBC module for PHPii php8.2-opcache 8.2.1-1 amd64 Zend OpCache module for PHPii php8.2-readline 8.2.1-1 amd64 readline module for PHPPlease let me know if you need any additional information!--Joe
|