Sqlite load error on win64, ok on win32


I’m trying to upgrade from win32 to win64 :
from php 8.1.5 VS16 x86 Thread Safe to VS16 x64 Thread Safe

Everything seems running fine except the driver sqlite:
PHP Warning: PHP Startup: Unable to load dynamic library ‘php_pdo_sqlite.dll’ (tried: c:/web/PHP8/ext\php_pdo_sqlite.dll (%1 n’est pas une application Win32 valide)

NB. also tested with php version 8.0.18 and 8.1.4

Any help is welcome

Solved : Wrong version of libsqlite3.dll in the path.