note 100554 deleted from sqlite.installation by cmb
| From: | cmb@php.net | Date: | Mon, 02 Nov 2020 14:55:52 +0000 |
| Subject: | note 100554 deleted from sqlite.installation by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215697@lists.php.net to get a copy of this message | ||
Note Submitter: Otto Monnig omonnig [at] gmail [dot] com
----
In a CentOS 5 default installation, SQLite requires the pdo, sqlite and
pdo_sqlite extensions, which are not installed. The previous note was very
helpful, but needed some additions:
- get your source version from the historical releases page
http://www.php.net/releases/
- repeat the compile process below for pdo, sqlite and pdo-sqlite extensions,
(gcc is required and may have to be installed)
tar xvf php-your.version.here.tar.gz
cd php-your.version.here/ext/sqlite/
phpize
./configure
make
make install
- create file /etc/php.d/sqlite.ini:
; Enable sqlite extension module
extension=pdo.so
extension=sqlite.so
extension=pdo_sqlite.so
- [restart apache] service httpd restart
- search phpinfo(); for 'sqlite' to verify correct installation\