note 96346 added to sqlite.installation
| From: | thomas.zangerl | Date: | Mon, 22 Feb 2010 14:57:05 +0000 |
| Subject: | note 96346 added to sqlite.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166249@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 130.237.221.116
----
Manual Page -- http://www.php.net/manual/en/sqlite.installation.php
Edit -- https://master.php.net/note/edit/96346
Del: integrated -- https://master.php.net/note/delete/96346/integrated
Del: useless -- https://master.php.net/note/delete/96346/useless
Del: bad code -- https://master.php.net/note/delete/96346/bad+code
Del: spam -- https://master.php.net/note/delete/96346/spam
Del: non-english -- https://master.php.net/note/delete/96346/non-english
Del: in docs -- https://master.php.net/note/delete/96346/in+docs
Del: other reasons-- https://master.php.net/note/delete/96346
Reject -- https://master.php.net/note/reject/96346
Search -- https://master.php.net/manage/user-notes.php