[Bug 206215] [PATCH/REQUEST] databases/mysql57-server, databases/mysql57-client, zlib from system
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 13 22:05:21 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206215
Bug ID: 206215
Summary: [PATCH/REQUEST] databases/mysql57-server,
databases/mysql57-client, zlib from system
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: klaus at mayr-software.net
Created attachment 165529
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=165529&action=edit
Add Option to System or bundled zlib
Similar to PR 198812 i have an issue in PHP, also listed as possible bug in
php,
see https://bugs.php.net/bug.php?id=70276
Mysql 5.7 uses a bundled zlib version (1.2.3) by default.
If Apache is used with dbd-mysql driver (e. g. in www/mod_myvhost), the php
script shows an error message like this when accessing PNG files:
PHP Warning: imagecreatefrompng(): gd-png: fatal libpng error: bad parameters
to zlib in ...
This however does not occur when the CLI version of PHP 5.6 is used
To fix this i modified databases/mysql57-server/Makefile and added an optional
CMAKE_FLAG to make mysql57-client link to the system zlib version.
Maybe this should be added to other mysql versions too ?
*****
My System config in short:
FreeBSD 10.2-RELEASE-p7 (amd64)
PHP 5.6.17, Mysql57.10 client and server, Apache 2.4.18, apr mit dbd-mysql
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list