Bug 149989

Summary: [Question] archivers/php5-zlib is not needed?
Product: Ports & Packages Reporter: joehorn
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description joehorn 2010-08-26 15:50:03 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-08-26 15:50:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2010-08-26 15:51:33 UTC
State Changed
From-To: open->closed

A change has been recently committed to php5, php5-zlib is still needed.