PHP5.3.8 and SQLite3: couldnotfinddriver solution

Source: Internet
Author: User
For more information about PHP5.3.8 and SQLite3: couldnotfinddriver, the program for installing PHP5.3.8 and SQLite3, & nbsp; index. php on windows is: & lt ;? Phptry {& nbsp; *** connecttoSQLitedatabase *** & nbsp; $ dbhnew PHP5.3.8 and SQLite3: cocould not find driver
Consult,

PHP5.3.8 and SQLite3 are installed on windows,

The index. php program is:

Try {
/*** Connect to SQLite database ***/
$ Dbh = new PDO ("sqlite: test. db ");
}
Catch (PDOException $ e)
{
Echo $ e-> getMessage ();
}
?>

The attributes of php. ini are as follows:

Extension = php_pdo_sqlite.dll
Extension = php_sqlite.dll
Extension = php_sqlite3.dll

The dll php_pdo.dll has not been opened. Read the official documentation saying that this dll is not required on windows.

The error "cocould not find driver" is reported during running. please kindly advise!

------ Solution --------------------
How can this problem be solved? Let me talk about it. I have encountered this problem.
------ Solution --------------------
If the problem is solved, try to drink porridge in different bowls.
------ Solution --------------------
Let's talk about how to solve the problem. thank you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.