Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

Use SQLite3::open instead http://us2.php.net/manual/en/sqlite3.open.php

sqlite_open is an old function, deprecated in PHP 5.4

share|improve this answer
add comment

Your Answer

 
discard

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.