Wampserver2.4 connection to sqlite

Source: Internet
Author: User
I have installed a new WAMPserver, after the installation, there was a problem on the previous page. I have stored several usernames and passwords in sqlite to log on to the page. Previously, the following error can be returned (& nbsp ;! & Nbsp;) & nbsp wampserver 2.4 connection to sqlite
I installed a new WAMPserver, and a problem occurred on the previous page after installation.
I have sqlite login pages with several usernames and passwords.
Can be used in the past
The following error is reported.

(! ) Fatal error: Call to undefined function sqlite_open () in D: \ wamp \ www \ login. php on line 36
Call Stack
# Time Memory Function Location
1 0.0000 153656 {main} () .. \ login. php: 0
Php_sqlite and php_pdo_sqlite are enabled.
Still not,
The extension php_pdo is not found in php. ini. Is this a change in php 5.4.16?
Share:
------ Solution --------------------
Php 5.4.16?
Php_pdo has been built in since php5.3.
Php_sqlite does not support discrete functions.
You need to operate through sqlite3 class or pdo for sqlite
------ Solution --------------------
Http://cn2.php.net/manual/en/function.sqlite-open.php

(PHP 5 <5.4.0, PECL sqlite> = 1.0.0)

5.4 started in PECL

Http://www.php.net/manual/en/sqlite.installation.php

Since PHP 5.0 this extension was bundled with PHP. Beginning with PHP 5.4, this extension is available only via PECL.

5.4 and later.

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.