> cat /etc/SuSE-release
SUSE LINUX 10.1 (i586)
VERSION = 10.1
Hi,
I need to determine the dimensions of compressed swf-files. The function getimagesize() returns false and triggers a notice:
> php5 -r 'var_dump(getimagesize("f2fadb2a84e6cd697c62a25563641dac87dc07fe.swf"));'
PHP Notice: getimagesize(): The image is a compressed SWF file, but you do not have a static version of the zlib extension enabled in Command line code on line 1
bool(false)
zlib, zlib-devel and php5-zlib are installed. On my OS X and Debian machines there are no errors, but I don’t know how to fix this on SuSe. PHP version is 5.2.6, configure command is the following:
'../configure' '--prefix=/usr' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--with-libdir=lib' '--includedir=/usr/include' '--sysconfdir=/etc/php5/apache2' '--with-config-file-path=/etc/php5/apache2' '--with-config-file-scan-dir=/etc/php5/conf.d' '--enable-libxml' '--enable-session' '--with-mm' '--with-pcre-regex' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-filter' '--disable-debug' '--enable-inline-optimization' '--disable-rpath' '--disable-static' '--enable-shared' '--program-suffix=5' '--with-pic' '--with-gnu-ld' '--with-system-tzdata=/usr/share/zoneinfo' '--with-apxs2=/usr/sbin/apxs2' '--disable-all' '--disable-cli'
I did not compile PHP, I installed it with smart. Google did not help, I hope someone in this forum can.