View Issue Details

IDProjectCategoryView StatusLast Update
0029147mantisbtdb mssqlpublic2021-10-06 12:12
Reporterantoinec Assigned Todregad  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version2.25.0 
Summary0029147: APPLICATION ERROR #400 - PHP > 5.6
Description

Hello,

If I try to put my PHP version at 7.4 (But it doesn't work also with previous 7 versions)
Mantis return me this error on the webpage :

APPLICATION ERROR #400

Échec de connexion à la base de données. L’erreur renvoyée était #0 : PHP Support for database is not enabled.

I notice on the PHP config for the 5.6 version, the extensions php_pdo_sqlsrv_56_ts.dll and php_sqlsrv_56_ts.dll are enabled.

So on IIS, for the 7.4 php version, I tryied to add and active the PHP extensions found on the microsoft page, like php_sqlsrv_74_ts_x64.dll or php_pdo_sqlsrv_74_ts_x64.dll ...
Same result

Additional Information

Mantis 2.25
Database : MSSQL 2016
Windows Server 2016
IIS 10
PHP 5.6 OK
PHP 7x NOK

TagsNo tags attached.

Activities

antoinec

antoinec

2021-10-06 10:45

reporter   ~0065888

I found the issue.

My PHP 7 was in x86.

I add a PHP in x64, add the php_sqlsrv_74_ts_x64.dll extension and it work.