php5: add dbase support
|Reported by:||ryandesign (Ryan Schmidt)||Owned by:||ryandesign (Ryan Schmidt)|
I received a request by email from Mikel King on 2008-01-29 to add support for dbase databases, and another from Gregg Green on 2008-06-06.
This should be as simple as adding --enable-dbase to the configure.args. No additional dependencies are needed, but warnings on the php web site make me want to put dbase support in a variant anyway. The warning reads:
There is no support for indexes or memo fields. There is no support for locking, too. Two concurrent web server processes modifying the same dBase file will very likely ruin your database.
We recommend that you do not use dBase files as your production database. Choose any real SQL server instead; MySQL or Postgres are common choices with PHP. dBase support is here to allow you to import and export data to and from your web database, because the file format is commonly understood by Windows spreadsheets and organizers.
A new dbase variant should be added to the php5 (and php5-devel (and php4?)) port, and it should print a warning like the above when it is selected.