Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15529 closed enhancement (fixed)

php5: add dbase support

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: mikel.king@…, vnyx
Port:

Description

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.

Change History (3)

comment:1 Changed 16 years ago by raimue (Rainer Müller)

Do you really think we need to add a warning? Users should always consult the relevant documentation for the software they install through MacPorts IMHO. Not that such a warning would harm, just a comment.

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ggreen@… added; postmaster@… removed
Resolution: fixed
Status: newclosed

Ok, we'll skip the warning.

Added +dbase variant to php4, php5 and php5-devel in r37803.

comment:3 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.