Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 2010 14:40:46 GMT
From:      Joe Horn <joehorn@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/149989: [Question] archivers/php5-zlib is not needed?
Message-ID:  <201008261440.o7QEek8Q097045@www.freebsd.org>
Resent-Message-ID: <201008261450.o7QEo3V2047126@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         149989
>Category:       ports
>Synopsis:       [Question] archivers/php5-zlib is not needed?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 26 14:50:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Joe Horn
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
Taiwanese User
>Environment:
System: FreeBSD joehorn.idv.tw 8.1-RELEASE FreeBSD 8.1-RELEASE #2: Tue Jul 20 22:36:33 CST 2010
>Description:
I found this log in httpd_error log:
PHP Warning:  Module 'zlib' already loaded in Unknown on line 0

After I deinstalled php5-zlib-5.3.3_1 ( /usr/ports/archivers/php5-zlib ),
the log message doesn't appear.

I found that PHP5 Zlib has been set as default installation because of following lines in /usr/ports/lang/php5/Makefile :

CONFIGURE_ARGS= \
                ....
                --with-zlib-dir=/usr \
                ....

I think we don't need /usr/ports/archivers/php5-zlib , and we maight have to fix lots ports which have set /usr/ports/archivers/php5-zlib as dependency.

Ref: PHP Zlib installation manual
     http://www.php.net/manual/en/zlib.installation.php
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008261440.o7QEek8Q097045>