Installing SQLite3 on Linux

Here are installing PDO for PHP5 Linux. Here's how to enjoy SQLite3 using PHP5 Linux!
For that, you must have the PDO extension and driver PDO_SQLITE; these extensions will be integrated PHP5.1.
In PHP5, you must download extensions: PDP-1.0RC1.tgz and PDO_SQLITE-1.0rc1

If you installed PEAR is very simple, you just open a console and execute the commands:

pear install PDO-1.0RC1.tgz
pear install-PDO_SQLITE 1.0RC1.tgz

If you have not activated PEAR and you do not want to do, run the following commands:
tar xzf PDO-1.0RC1.tgz
tar-xzf PDO_SQLITE 1.0RC1.tgz
cd PDO-1.0rc1

If you install PHP with RPM
Export PHP_PREFIX = "/ usr"
$ PHP_PREFIX / bin / phpize

If you install PHP from source
Export PHP_PREFIX = "/ usr / local"
$ PHP_PREFIX / bin / phpize
. / configure
make install

PDO_SQLITE cd-1.0rc1 /
$ PHP_PREFIX / bin / phpize
. / configure
make install

Verify that extensions '' and '' are in his repertoire: PHP_PREFIX / lib / php / extensions.
To verify the location of the directory containing the extensions, view your phpinfo () and search for 'extension_dir'

must specify in your php.ini to load extension to START.

To locate your php.ini, look at the line 'Configuration File (php.ini) Path' in your phpinfo ().input width="617" type="image" height="45" src="/images/img/phpinfo-nix-ini.gif" />

open your php.ini, find the loading of extensions by searching the lines in which there 'extension =', then add a line:

extension =
extension =

restart your web server.

View your phpinfo () you should see the extension and the PDO driver PDO_SQLITE

Add comment

Security code

Installing SQLite3 on Linux - SQLiteManager
Facebook MySpace Twitter Digg Delicious Stumbleupon Google Bookmarks 


SQLiteManager now is managed by the corporation WebInfoPro in order to remake to live this project all while remaining under license GPL


Vous pouvez nous contacter par email sur

Who's online?

We have 1657 guests online