php-pdo-mysql don't work

Problems with the Windows version of XAMPP, questions, comments, and anything related.

php-pdo-mysql don't work

Postby stardust-jp » 30. December 2017 16:17

From php-program, I used pdo function(prepare) to MySQL.
--> Then "could not find driver" was displayed.
Fatal error: Uncaught Error: Call to a member function prepare() on null in ....

The program already worked in old version.
So I used phpinfo() to show the status of php.

--> 'PDO drivers' field shows 'no value'.

Does it mean that I must install php-mysqlnd manually?
If so, where can I get and how to install?
Posts: 1
Joined: 30. December 2017 15:54
XAMPP version: 7.2.0 / PHP 7.2.0
Operating System: Windows10

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 44 guests