-
Notifications
You must be signed in to change notification settings - Fork 8k
Open
Labels
Description
Description
The following code:
./buildconf
./configure --with-zlib=shared
make
./sapi/cli/php run-tests.php -d extension_dir=modules ext/standard/tests/image/getimagesize_swc.phpt
Resulted in this output:
test skipped
But I expected this output instead:
test passed
To have SWC files (even though they are obsolete), the zlib extension needs to be built statically with PHP. This prevents packages to build a shared zlib extension. As there is now a new API and image types can be dynamically registered from extensions, this can be probably resolved differently as done in the previous pull requests.
See also:
- Enable SWC files support and building with zlib extension #20867
- https://bugs.php.net/bug.php?id=34338
- php-zlib-for-getimagesize.patch #4681
PHP Version
All PHP versions
Operating System
No response
andypost