Re: [sqlite] Help needed for SQLite PHP

2011-07-04 Thread Kees Nuyt
Just FYI: James told me in private mail " SQLiteDatabase is not working for sqlite3,  I changed the open script to:  $dbh = new PDO('sqlite:yourdatabase.db'); Now it is working. " On Sun, 03 Jul 2011 16:08:24 +0200, Kees Nuyt wrote: >On Sun, 3 Jul 2011 06:47:26 -0700 (PDT), James_21th > wr

Re: [sqlite] Help needed for SQLite PHP

2011-07-03 Thread Kees Nuyt
On Sun, 3 Jul 2011 06:47:26 -0700 (PDT), James_21th wrote: >Dear experts, > >I was quite excited when I see such a nice portable database---SQLite,  which >can be installed locally. > >However, when I tried to open the SQLite DB with PHP, just a simple open >script >will cause "HTTP 500 Intern

Re: [sqlite] Help needed for SQLite PHP

2011-07-03 Thread Simon Slavin
On 3 Jul 2011, at 2:47pm, James_21th wrote: > 20110703:054052 WARN: function 'pcntl_fork' not available > 20110703:054052 WARN: function 'posix_setuid' not available These functions aren't available under Windows. I'm guessing from the context that the SQLite API you're using depends on them.

[sqlite] Help needed for SQLite PHP

2011-07-03 Thread James_21th
Dear experts, I was quite excited when I see such a nice portable database---SQLite,  which can be installed locally. However, when I tried to open the SQLite DB with PHP, just a simple open script will cause "HTTP 500 Internl server error", my web server is running fine with normal php code.