note 96346 deleted from sqlite.installation by cmb
| From: | cmb@php.net | Date: | Mon, 02 Nov 2020 14:55:54 +0000 |
| Subject: | note 96346 deleted from sqlite.installation by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215698@lists.php.net to get a copy of this message | ||
Note Submitter: thomas.zangerl [ at ]-NOSPAM-freenet.de
----
CentOS 5.4's and probably Fedora's php5 packages are compiled without SQLite support.
While the PECL build did not work for me (version mismatch?) it helped to get the PHP source from
http://php.net/downloads.php
and just compile the SQLite module by doing
tar xfvj php-5.2.12.tar.bz2
cd php-5.2.12/ext/sqlite/
phpize
./configure
make
make install
[restart apache]
Make sure to have php-devel/php5-dev installed and to get the PHP version matching your installed
PHP from the download page.
Probably this will require a rebuild when updating the php-packages on CentOS but currently there
are unfortunately no good alternatives.