Thursday, January 13, 2011

You need to enable either the SQLite or PDO_SQLite extension for the profiler to run properly.

After installation of Symfony2 sandbox, I wanted to view new debug profiler. But I have got the error:

You need to enable either the SQLite or PDO_SQLite extension for the profiler to run properly.

It means your apache server doesn't have enabled sqlite extension.

On linux just install it through:

apt-get install php5-sqlite

and restart apache.

20 comments:

  1. just ran into the same problem - thanks for your solution :)

    ReplyDelete
  2. i'm glad it was useful for you ;)

    ReplyDelete
  3. strange, why isn't this checked in check.php?

    ReplyDelete
  4. thank you! i haven't seen it documented anywhere..!

    ReplyDelete
  5. thanks, I was searching "install sqlite3 ubuntu", and nothing was helping. Finally searched "Install and enable the SQLite3 or PDO_SQLite extension."
    Problem solved xD
    Thanks!

    ReplyDelete
  6. Para los que apenas nos iniciamos en esto como es mi caso es de mucha utilidad. Thanks...!!!

    ReplyDelete
  7. Thanks, but after that I'm getting this below when I try to clear the cache:

    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/sqlite.so' - /usr/lib/php5/20090626/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0

    but that sqlite.so is not in my pc.

    Any idea?

    Regards

    Javi

    ReplyDelete
  8. hi, I make this command in the console :
    apt-get install php5-sqlite
    and
    apt-get install php5-sqlite3

    but the answer is :Unable to locate package php5-sqlite3

    help plz !!

    ReplyDelete
  9. can some one help me? I have uncommented the SQLite or PDO_SQLite extension in the php.in file with no luck passing the symfony configuration tester. I was able to get the date.timezone to pass.

    Any help would be great!

    ReplyDelete
  10. Merci ! This was helpful for me when I installed symfony2 for the first time.

    ReplyDelete
  11. How can I install the SQLite or PDO_SQLite extension on Windows xp

    ReplyDelete
  12. The debug bar is missed in dev environment after installing php5-sqlite.

    In config_dev.yml:
    web_profiler:
    toolbar: true
    intercept_redirects: false

    Could anybody give me a hand?

    Thanks in advance

    ReplyDelete
  13. SQllite is One type of Frame work so SQLlite is very easy and fast develop.


    Baby Photography Kansas City

    ReplyDelete