Repository navigation
Added support to build the oci8 and pdo_oci extensions - #13
Conversation
…5, 5.6 and 7.0. These are conditionally built based on the presence of the Oracle Instant Client & SDK. Additional documentation and instructions are included in the PHP-Oracle.md file.
|
Hey dmikusa-pivotal! Thanks for submitting this pull request! All pull request submitters and commit authors must have a Contributor License Agreement (CLA) on-file with us. Please sign the appropriate CLA (individual or corporate). When sending signed CLA please provide your github username in case of individual CLA or the list of github usernames that can make pull requests on behalf of your organization. If you are confident that you're covered under a Corporate CLA, please make sure you've publicized your membership in the appropriate Github Org, per these instructions. Once you've publicized your membership, one of the owners of this repository can close and reopen this pull request, and dreddbot will take another look. |
|
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/128038243 The labels on this github issue will be updated when the story is started. |
|
Hi @dmikusa-pivotal, looks like your usual high standard. However my spider-sense is tingling about whether Oracle's libraries come with some kind of evil rider clauses that would affect us. @flavorjones @sclevine might be worth throwing a few dragon's teeth into the ground to summon our lawyers for a quick look-over. |
|
I don't see anything controversial here, though I will ask Foundation legal to weigh in on the PHP License before asking y'all to proceed. |
|
@jchesterpivotal - agreed. Oracle licensing is definitely a concern. To work around it, I tried to take the typical approach for open source projects integrating with proprietary products, which is to make it as easy as possible but rely on the end user to provide the proprietary bits. That way we're not providing / distributing anything proprietary. Hopefully that's enough to make this work and not step on Oracle's toes. |
|
One interesting clause in the PHP License v3.0 is: which presents an interesting question around whether the php-buildpack is considered to be "derived" from "this software". I've reached out to the Foundation. |
|
The Foundation concluded that this is not an issue. We should be okay to proceed. |
|
Awesome. @dmikusa-pivotal is there a way to programmatically download the Oracle Instant Client Basic? It seems like a manual agreement to terms step is needed on the site. Asking for the purpose of writing integration specs testing this PR/new functionality. |
|
My understanding is that you have to have an OTN account to download the Instant Client & SDK. They do not, as far as I know, have an download that is outside the OTN. |
|
We're merging this in. We've also added integration tests and made some small changes to the php recipes. |
|
Changes and integration specs added here: c84bb16 |
Added support to build the `oci8` and `pdo_oci` extensions
Added support to build the
oci8andpdo_ociextensions for PHP 5.5, 5.6 and 7.0. These are conditionally built based on the presence of the Oracle Instant Client & SDK. Additional documentation and instructions are included in the PHP-Oracle.md file.Test suite ran with no errors with and without the Oracle libraries present.
Let me know if there's any feedback on the code. My first time using mini_portile.
Thanks!