-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
showing warning oci8 install through pecl #7736
Comments
That's caused by 14f599e, so PECL/oci8 needs to be updated. However, this bug tracker is about documentation issues, and this one clearly isn't. Not quite sure what to do, since PECL/oci8 doesn't have its own bug tracker. Anyhow, @cjbj, are you planning to publish a new PECL/oci8 version which is compatible with PHP 8.1? |
@cmb69 I was hoping to release a PECL OCI8 version that supported several PHP 8 versions, however @nikic's 902d64390e4 from https://wiki.php.net/rfc/deprecate_dynamic_properties has just borked OCI8 tests that use OCILob or OCICollection, which will delay things. How do I pass |
Do OCILob and OCICollection use dynamic properties? If so, can't that be changed so they have declared properties or use |
From a quick look at the code, Though in any case, I think it's a bit early to think about an 8.2 compatible extension release, given how 8.2 is still a year away. |
Thanks for jumping in. I need to do a PECL release for 8.1, and I wanted to add the newest performance optimization feature which landed in 8.2. The class code is all very old (pre dating me) and I haven't reviewed it for a long time. I don't know the answers to @cmb69's questions. Are the ce_flags controls via stubs? @nikic can you expand on what 'which can be declared' means? Thanks ! |
Instead of calling The |
A sample of the required change for soap, which was using the exact same pattern: c5d6f59 (and still is, for three more resources...) |
Excellent. I'll take a look when I'm back. |
I just pushed OCI8 3.2 to PECL. Give it a whirl. It is for PHP 8.1 only. |
OCI8 3.2 uses |
@cmb69 I should have made the build cleaner but, yes, it's time to move forward and stop building with ancient Oracle Client libraries. Thanks for identifying this. Builds with 11.2+ should work. |
Yes, 11.2+ builds succeed. I've updated rmtools and the PECL build machine, and triggered new builds. Thanks for the swift reply! :) |
I'll release a OCI8 3.2.1 version which removes support for linking with Oracle Client 10. I don't have Windows so won't touch the config.w32 file. |
installing oci8 extension through pecl
sudo pecl -d php_suffix=8.1 install oci8
In function ‘php_oci_column_to_zval’:
/tmp/pear/temp/oci8/oci8.c:1708:72: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘zend_long’ {aka ‘long int’} [-Wformat=]
1708 | php_error_docref(NULL, E_WARNING, "Unable to find LOB descriptor #%d", column->descid->handle);
The text was updated successfully, but these errors were encountered: