-
-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for oci8 and pdo_oci extensions no longer bundled with PHP #894
Conversation
Test: oci8, pdo_oci
Hi @mlocati, I have merged php/pecl-database-pdo_oci#1 and tested this PR with prepare commands:
I was able to run but
that is probably expected as this installed install stable/released packages. However, when I run
This should be probably fixed before this PR is merged. Should it be fixed here or in the https://github.com/php/pecl-database-pdo_oci repo? |
I don't know: |
It seems https://github.com/php/pecl-database-oci8/blob/main/config.m4 is working. I tried diffing it with https://github.com/php/pecl-database-pdo_oci/blob/main/config.m4, the diff is non-trivial, but the OCI8 can be probably used as a working reference. My question is however why the pdo_oci install was working before the unbundling, did anything changed? |
I've tried running this code in two docker containers (launched with cd /tmp
# Download and extract the oci-php8.4 branch of https://github.com/mlocati/docker-php-extension-installer
curl -sSLf -o- https://github.com/mlocati/docker-php-extension-installer/archive/refs/heads/oci-php8.4.tar.gz | tar xz
# Download and extract the main branch of https://github.com/php/pecl-database-pdo_oci
curl -sSLf -o- https://github.com/php/pecl-database-pdo_oci/archive/refs/heads/main.tar.gz | tar xz
CI=true /tmp/docker-php-extension-installer-oci-php8.4/install-php-extensions /tmp/pecl-database-pdo_oci-main With the official PHP 8.3 docker image everything works just fine
I'm sorry I can't help you more (I'm not an expert of OCI). |
Thank you for beiing so patient with me. In php/pecl-database-pdo_oci#1 I did a mistake. Now I fixed it in php/pecl-database-pdo_oci@be8a277. So I can confirm this PR is working. Once again, thank you! One small question to #892 - is anything like done in this PR needed also for unbundled |
Yep. Just to summarize the list of PHP extensions removed from the PHP main repository:
Am I missing some? |
only these 4 were unbundled - https://wiki.php.net/rfc/unbundle_imap_pspell_oci8 |
➡️ #900
Thanks for confirming! |
Requires php/pecl-database-pdo_oci#2
Close #892