[php-maint] Bug#798866: Bug#798866: php5: error with ImageCreateFromPNG()

Ondřej Surý ondrej at sury.org
Mon Sep 14 13:34:28 UTC 2015


Control: severity -1 normal
Control: fixed -1 php5/5.4.0~beta2-1

Hi Anton,

the php5 in squeeze only receives security updates. Please upgrade to
current Debian stable that has the latest 5.6.x version of php5 if you
want to have functional bugs fixed.

Cheers,
Ondrej

On Sun, Sep 13, 2015, at 18:35, anton wrote:
> Package: php5
> Version: 5.3.3.1-7+squeeze27
> Severity: important
> 
> Hello, 
> i have problem with ImageCreateFromPNG()
> All PNG picture have a warnin after function ImageCreateFromPNG():
> "Warning: imagecreatefrompng(): bad type specifier while parsing
> parameters in /var/www/rekl_kv/data/www/server_name.com/img_test.php on
> line 8"
> 
> I solve this warning replace string:
>      $image=ImageCreateFromPNG($image);
> to:
>      $image=imagecreatefromstring(file_get_contents($image));
> 
> 
> -- System Information:
> Debian Release: 6.0.10
>   APT prefers squeeze-lts
>   APT policy: (990, 'squeeze-lts'), (500, 'oldoldstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages php5 depends on:
> ii  libapache2-mod-php5  5.3.3.1-7+squeeze27 server-side, HTML-embedded
> scripti
> ii  php5-cgi             5.3.3.1-7+squeeze27 server-side, HTML-embedded
> scripti
> ii  php5-common          5.3.3.1-7+squeeze27 Common files for packages
> built fr
> 
> php5 recommends no packages.
> 
> php5 suggests no packages.
> 
> -- no debconf information
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint


-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



More information about the pkg-php-maint mailing list