Opened 17 years ago

Closed 14 years ago

#12210 closed enhancement (fixed)

RFE: php5 PDO ODBC support

Reported by: mjscod@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: jyrkiwahlstedt
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 (3)

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

Download all attachments as: .zip

Change History (9)

Changed 17 years ago by mjscod@…

Attachment: patch_configure added

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

Changed 17 years ago by mjscod@…

Attachment: Portfile added

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

comment:1 Changed 17 years ago by nox@…

Milestone: Port Enhancements
Priority: ExpectedNormal
Summary: PDO ODBC supportRFE: php5 PDO ODBC support
Version: 1.4.40

Changed 16 years ago by mjscod@…

Attachment: php5-Portfile.2.patch added

Path to enhance the Portfile of PHP5 to support unixODBC

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

Cc: jwa@… added
Owner: changed from macports-tickets@… to ryandesign@…

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.

comment:3 Changed 15 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 :)

comment:4 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Keywords: haspatch added
Port: php5 added

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Port: php5-odbc added
Resolution: fixed
Status: newclosed

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.