Re: PHP 8 Beta 1 and pdo_oci, pdo_oci8_12c and gd2 extensions
[email protected] ("Christoph M. Becker") Thu, 6 Aug 2020 23:15:11 +0200
| Newsgroups | php.windows |
|---|---|
| Message-ID | <[email protected]> |
On 06.08.2020 at 22:17, David Martin wrote: > In the alpha releases the 3 extensions in the subject were working fine, > pdo_oci, pdo_oci8_12c and gd2. With the beta release they no longer work= . > > gd2 gives the error below: > > Warning: PHP Startup: gd: Unable to initialize module > Module compiled with module API=3D20190128 > PHP compiled with module API=3D20200804 > > pdo_oci gives a similar error: > > Warning: PHP Startup: PDO_OCI: Unable to initialize module > Module compiled with module API=3D20190128 > PHP compiled with module API=3D20200804 > > pdo_oci8_12c gives an entry point not found error popup then emits an > unable to load dynamic library. It says the module could not be found bu= t > the errors being emitted indicate that it really is being found. > > All that said my question is, why are gd2 and pdo_oci no longer in the P= HP > Windows bundle? I'm pretty sure that they used to be and they are in fac= t > in the 7.4.9 ZIP file as expected but not in > the php-8.0.0beta1-Win32-vs16-x64 ZIP file. php_gd2.dll is now php_gd.dll (the number actually never made much sense, so it has been removed)[1]. The absence of php_oci8_12c.dll and php_pdo_oci.dll is a bug. This will be fixed for PHP 8.0.0beta2, and it probably makes sense to provide these DLLs as separate download, since older DLLs won't work (that's the error you've got). Thanks for bringing this up! [1] <https://github.com/php/php-src/blob/php-8.0.0beta1/UPGRADING#L1055> =2D- Christoph M. Becker