Re: new php script and sqlite
| From: | Paul M Foster | Date: | Tue, 08 Sep 2009 13:41:41 +0000 |
| Subject: | Re: new php script and sqlite | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297789@lists.php.net to get a copy of this message | ||
On Tue, Sep 08, 2009 at 11:20:01AM +0800, Eric Boo wrote:
> Hi,
>
> I'm currently using a text file to store data which the php script
> will read and write back to. I've a few questions:
>
> 1) I'm thinking of using sqlite, but not sure whether this will be
> widely available on most hosts, as I intend for the php script to be
> deployed without needing to much with much configuration. Is sqlite
> included with most php setups?
As I understand it, sqlite support is by default built into PHP. If so,
then it should be supported anywhere.
>
> 2) Should I be using sqlite 2 or 3?
Don't use version 2. It's deprecated.
Paul
--
Paul M. Foster