It really depends on the type of data you are storing. Is there going to be a need to a decent amount of queries and stored procedures? Do you need triggers and rules to validate your data in your database?
The main question to ask is:
Do you need to build off of a schema? Or are you mainly going to be working with JSON objects?
If you plan on spending a lot of time in the database managing a schema and other rules then go with a MySQL
or a SQL Server Express
option. Both database engines are free and will allow you to manage your data easily.
However, if your data is based off JSON objects and does not really adhere to a relational model, I would go with a document oriented database like CouchDB
.
http://couchdb.apache.org/
CouchDB
was really made for websites that do not want to use a specific schema, but need some sort of storage system. You can store JSON documents in your database and query and retrieve data with simple HTTP.
Rather than being schema oriented like SQL databases
, CouchDB
is document oriented. A CouchDB database is a flat collection of documents.
Since you mentioned you were using PHP
, below is a tutorial on getting starting with PHP and CouchDB
.
http://wiki.apache.org/couchdb/Getting_started_with_PHP