Bug #80441 [NEW]: Ubuntu 18 WSL

From: Date: Sun, 29 Nov 2020 01:05:48 +0000
Subject: Bug #80441 [NEW]: Ubuntu 18 WSL
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230702@lists.php.net to get a copy of this message
From:             inland14 at live dot com
Operating system: ubuntu
PHP version:      8.0.0
Package:          GD related
Bug Type:         Bug
Bug description:Ubuntu 18 WSL

Description:
------------
---
From manual page: https://php.net/image.installation
---
imagepng($x)
PHP Warning:  imagepng(): gd-png: fatal libpng error: bad parameters to
zlib
 in /mnt/c/xampp/htdocs/CNGN/test.php on line 45
PHP Warning:  imagepng(): gd-png error: setjmp returns error condition
 in /mnt/c/xampp/htdocs/CNGN/test.php on line 45
<img src="f.png">PHP Warning:  imagewebp(): gd-webp encoding failed in
/mnt/c/xampp/htdocs/CNGN/test.php on line 47

imagepalettetotruecolor($img);
imagepng($img, "f.png", 100); // line 45
echo '<img src="f.png">';
imagewebp($img, "f.webp", 100); // line 47




-- 
Edit bug report at https://bugs.php.net/bug.php?id=80441&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=80441&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=80441&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=80441&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=80441&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=80441&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=80441&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=80441&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=80441&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=80441&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=80441&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80441&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=80441&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=80441&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=80441&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=80441&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=80441&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=80441&r=mysqlcfg


Thread (4 messages)

« previous php.bugs (#230702) next »