You are here: PHP5 with sqlite2 instead of sqlite1 « PHP Programming Language « IT news, forums, messages
PHP5 with sqlite2 instead of sqlite1

Posted by s.komendera on 09/24/07 12:49

Hello

PHP ver. 5.2.3. I installed sqlite by issuing: pecl install sqlite.
Unfortunately, in this way I have sqlite ver. 1, but I want to have
sqlite2 (obiect-oriented) which is not in the pecl repository.

So i decided to compile sqlite2 by myself. I went to the extension's
source directory and issued:

1. phpize
2. ./configure --with-sqlite=shared
3. make

Make told that now I have sqlite.so placed i /modules. OK, fine. The
problem is, that when I want to load that sqlite.so in php.ini, PHP
says: Invalid library (maybe not a PHP library)).

What am I doing wrong, or where can I download sqlite2 that would work
with PHP?

--
Szymon

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация