Is PDO MySQL driver really installed and enabled?

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

Is PDO MySQL driver really installed and enabled?

Postby tirengarfio » 15. December 2009 14:51

Hi,

i've installed a well known PHP framework called symfony. After intalling it, the instructions recommend executing a file called "check_configuration.php". After the execution i get this lines:

Code: Select all
  OK        PDO is installed
[[WARNING]] PDO has some drivers installed: : FAILED


But when i go to XAMPP administrator i can see this:
Code: Select all
PDO support               enabled
PDO drivers               mysql, pgsql, sqlite, sqlite2


What happens? Any idea?

Regards

Javi
tirengarfio
 
Posts: 30
Joined: 19. October 2008 18:28

Re: Is PDO MySQL driver really installed and enabled?

Postby Wiedmann » 15. December 2009 15:14

Is PDO MySQL driver really installed and enabled?

Create a "test.php":
Code: Select all
<?php
print_r
(PDO::getAvailableDrivers());
?>

Put it in your htdocs and access it with "http://localhost/test.php" in your browser.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 32 guests