Re: PHP/SQLite with appWeb doesn't work
- It seems to be that the appWeb php5 module isn't configured to work
with SQLite. So although you switch it on in the php.ini file, it
still does not work because of the appWeb php5 module.
You can see, in the configuration file below, that mysql should work
but there's no SQLite...
Maybe if you have more linux skills than me you can make you own
module from the source code...
I'm using Lighttpd now and it works fine.
This is what I found on the appWeb site :
The supplied PHP library was configured with the following
--- In firstname.lastname@example.org, "sjaak0vaak" <bbnht.xob2@...> wrote:
> Hi all,
> I have tried alot, but SQLite still doens't work...
> Webserver and PHP are working though.
> First of all i've installed appWeb and configured the config file to
> my needs. I've checked and I got the 'Embedthis page'.
> I think that PHP was installed with appWeb, at least I see that php
> and php-embed is installed with 'ipkg status'. And it's working, I get
> an info page with 'phpinfo()'.
> So with a simple php 'sqlite_libversion()' I've checked if SQLite was
> working. I got a error 'Fatal error: Call to undefined function
> sqlite_libversion() in /opt/var/appWeb/web/sq1.php on line 4'.
> Oke, no problem I know that almost nothing is working right away.
> So during my search why SQLite isn't working I see that 'sqlite.so'
> and 'pdo_sqlite.so' are present in the './opt/lib/php/extensions/'
> dir. But that they are not in the extension list in the PHP.ini
> file... I've put them in, but with no result.
> I hope that someone knows how you get SQLite to work?