New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15529 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

php5: add dbase support

Reported by: ryandesign@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: mikel.king@…, ggreen@…
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

comment:1 Changed 6 years ago by raimue@…

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 6 years ago by ryandesign@…

  • Status changed from new to closed
  • Cc ggreen@… added; postmaster@… removed
  • Resolution set to fixed

Ok, we'll skip the warning.

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

comment:3 Changed 6 years ago by anonymous

  • Milestone Port Enhancements deleted

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.