My favorite question to ask when starting a new project is "What is the problem for which this is a solution?" So in that spirit, here are some of the benefits I see for adding SQLite support and some of the problems it might solve:
[list]
[*][b]Options[/b]
Yes, MySQL is just about everywhere, but a) it's not that easy to use or set up, b) some hosts put limitations on, for example, the number of databases one can create, and c) some people might prefer other databases and it's good to have options. Plus, once the first step is taken, it would be easier to add support for additional databases, e.g., PostgreSQL.
[*][b]Portability[/b]
Moving your site to a new webhost? Which scenario sounds preferable?
MySQL:
[list=1]
<li>Copy ZenPhoto along with all your photos to the new webhost server.
[*]Log in to old webhost admin and find phpMyAdmin.
[*]Select the database, select Export, Select All tables, Save as file, set compression?, do I need to change any of the SQL options?, cross fingers and click Go.
[*]Find SQL file.
[*]Log in to new webhost and open phpMyAdmin.
[*]Create new database, user, password.
[*]Assign user to database with appropriate privileges.
[*]Select database, select SQL... Browse for file, cross fingers, and click Go.
[*]Edit `zp_config.php` on the new server and enter new database info.
[/list]
or SQLite:
[list=1]
[*]Copy ZenPhoto along with all your photos to the new webhost server.
[/list]
</li>
[*][b]Braggability?[/b]
All the cool kids are using SQLite (or they will be after they see ZenPhoto using it!).
[*][b]Performance?[/b]
No idea which is faster in this situation, but I plan to test this. Of course, it may depend on your setup.
[*][b]Ease of installation[/b]
This is my favorite. Assuming SQLite works on your server, ZenPhoto can be installed with virtually no database setup. No MySQL passwords, no need to edit `zp_config.php`, No `setup.php`. A ready-to-go database can be included with the ZenPhoto download. Simply unzip the program to your webhost server and start adding photos!
[/list]
Of course there are disadvantages too, the main one being availability. I really don't know what percentages of webhosts have SQLite installed. But if it's not, MySQL support would still be available (a single pref in `zp_config.php`).