As all PECL extensions:
Solution #1 (requires a working pear setup):
# pear install sqlite
Solution 2:
# tar xzvf SQLite-x.x.x.tar.gz
# cd SQLite-SQLite-x.x.x
# phpize
# ./configure
# make
# make install
note: add php/bin to path because php/bin/php-config will be used soon
# add "extension=sqlite.so" to php.ini