From owner-freebsd-ports@FreeBSD.ORG Thu Aug 26 12:41:51 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F7E110656A7 for ; Thu, 26 Aug 2010 12:41:51 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 5CB518FC16 for ; Thu, 26 Aug 2010 12:41:51 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Oobm4-000O7q-UN; Thu, 26 Aug 2010 08:41:49 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id DF095441EE06; Thu, 26 Aug 2010 08:41:44 -0400 (EDT) Message-ID: <4C766106.7050008@FreeBSD.org> Date: Thu, 26 Aug 2010 08:41:42 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= References: <4C76599F.3090000@pp.dyndns.biz> In-Reply-To: <4C76599F.3090000@pp.dyndns.biz> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.3 (/) Cc: freebsd-ports@freebsd.org Subject: Re: PHP warning after 5.3.3 -> 5.3.3_1 bump X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2010 12:41:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Morgan Wesstr=F6m wrote: > Upgraded lang/php from port revision 5.3.3 to 5.3.3_1 yesterday to > include the new native MySQL drivers. Now I get the following warning > every time a php script is executed: >=20 > PHP Warning: Module 'zlib' already loaded in Unknown on line 0 >=20 > Even a simple "php -v" displays this warning. >=20 > - I have rebuilt php and all ports depending on it. > - I have verified that extensions.ini doesn't contain duplicates. > - I have searched for any other references to zlib. >=20 > This isn't critical I guess, but annoying. Any suggestions on how to > solve this would be appreciated. >=20 > Regards > Morgan Hi Morgan, The only time that I've seen that error, it has been caused by duplicate extension loading. If you've already removed duplicates from your extensions.ini file, set up a page with the phpinfo() function so you can see what other .ini file directories might be in the search path. You might even get some good information from this command: truss -f -a -s 256 -o /tmp/php-cli.log php -v Once the process exits, check the /tmp/php-cli.log file and search for "zlib" in it. You might see the zlib extension loaded more than once and be able to determine what .ini file is causing the duplication. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMdmEG0sRouByUApARApBXAKC1/BCNRLEAR7tw1bktX1lZydoJ4QCeMpQ0 iB009tb0kVYIZ4nh1Qw2X2Y=3D =3DZp+r -----END PGP SIGNATURE-----