New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12210 (closed enhancement: fixed)

Opened 5 years ago

Last modified 2 years ago

RFE: php5 PDO ODBC support

Reported by: mjscod@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: jwa@…
Port: php5, php5-odbc

Description

I made some small changes to enable PDO ODBC in addition to the ODBC extension because I have a web-site that relies on the PDO ODBC extension. I'll attach the Portfile and the enhanced configure-patch.

Attachments

patch_configure Download (0.7 KB) - added by mjscod@… 5 years ago.
This configure patch fixes a problem (bug?) when compiling the PDO ODBC extension
Portfile Download (11.4 KB) - added by mjscod@… 5 years ago.
The enhanced Portfile that adds the --with-pdo-odbc switch and supports a unixODBC variant
php5-Portfile.2.patch Download (0.7 KB) - added by mjscod@… 4 years ago.
Path to enhance the Portfile of PHP5 to support unixODBC

Change History

Changed 5 years ago by mjscod@…

This configure patch fixes a problem (bug?) when compiling the PDO ODBC extension

Changed 5 years ago by mjscod@…

The enhanced Portfile that adds the --with-pdo-odbc switch and supports a unixODBC variant

Changed 4 years ago by nox@…

  • priority changed from Expected to Normal
  • summary changed from PDO ODBC support to RFE: php5 PDO ODBC support
  • version 1.4.40 deleted
  • milestone set to Port Enhancements

Changed 4 years ago by mjscod@…

Path to enhance the Portfile of PHP5 to support unixODBC

Changed 4 years ago by ryandesign@…

  • owner changed from macports-tickets@… to ryandesign@…
  • cc jwa@… added

I never saw this ticket because it wasn't assigned to me. Assigning to myself now, though I don't have time to look into it at the moment.

Changed 3 years ago by jc.glombard@…

Hello beautiful people, Please,

could you add this patches because I need variants like +unixODBC + pdo_odbc

Thanks A lot :)

Changed 3 years ago by anonymous

  • milestone Port Enhancements deleted

Milestone Port Enhancements deleted

Changed 2 years ago by jmr@…

  • keywords haspatch added
  • port set to php5

Changed 2 years ago by ryandesign@…

  • status changed from new to closed
  • resolution set to fixed
  • port changed from php5 to php5, php5-odbc

PHP's ODBC support was moved to a new port php5-odbc in r58581. It now always uses unixODBC and always builds both the PDO and non-PDO extensions; no variants needed.

If the previous option of iODBC is still required, an iodbc port and variants in php5-odbc can be added.

I did not use the patches provided in this ticket because I didn't remember about this ticket, and it seemed to build fine without them. I imagine php5 has changed a bit since this ticket was originally filed.

Note: See TracTickets for help on using tickets.