Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

12.04 AMD 64

apt-get install sqlite php5-cli php5-sqlite

php -r '$x = sqlite_open();' PHP Fatal error:  Call to undefined function sqlite_open() in Command line code on line 1
share|improve this question
You probably need to configure PHP to actually use the sqlite module. – Kevin Aug 23 '12 at 2:14

Use SQLite3::open instead.

sqlite_open is an old function, deprecated in PHP 5.4

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.