#36753 [Bgs]: Can't get size of SWF images because zLib is missing

From: Date: Fri, 24 Mar 2006 21:04:30 +0000
Subject: #36753 [Bgs]: Can't get size of SWF images because zLib is missing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-94850@lists.php.net to get a copy of this message
ID: 36753 Updated by: tony2001@php.net Reported By: rafaelhfaria at terra dot com dot br Status: Bogus Bug Type: GetImageSize related Operating System: FreeBSD 6.0 PHP Version: 5.1.2 New Comment: ./configure --help and --with-zlib will help you. >I see that in PHP 5.1.2 in FreeBSD 6 Ports, >all extensions are compiled like shared ext. Agree, compiling *all* extensions as shared is stupid, please address to the FreeBSD port maintainer. Previous Comments: ------------------------------------------------------------------------ [2006-03-24 18:16:48] rafaelhfaria at terra dot com dot br How do I compile a Static version of zLib in PHP 5.1.2 ? I tried --enable-static (without success), --enable-static=zlib (without success too). I only get shared ext. I see that in PHP 5.1.2 in FreeBSD 6 Ports, all extensions are compiled like shared ext. I think that a lot of people will get this same error. ------------------------------------------------------------------------ [2006-03-16 22:45:53] tony2001@php.net The error message is pretty clear: to be able to do it you need zlib compiled statically. No bug here. ------------------------------------------------------------------------ [2006-03-16 20:31:00] rafaelhfaria at terra dot com dot br Anyway, this is my php_info(); http://200.178.71.10/teste.php PS: I´m using Zend Optimizer 3 (beta). ------------------------------------------------------------------------ [2006-03-16 20:26:50] rafaelhfaria at terra dot com dot br I have used PORTS instalation from FreeBSD... But in php_info(); it shows: './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--enable-spl' '--with-regex=php' '--with-apxs2=/usr/local/sbin/apxs' '--enable-zend-multibyte' '--prefix=/usr/local' 'i386-portbld-freebsd6.0' ------------------------------------------------------------------------ [2006-03-16 08:36:27] tony2001@php.net What was the configure line used? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/36753 -- Edit this bug report at http://bugs.php.net/?id=36753&edit=1

« previous php.bugs (#94850) next »