From owner-freebsd-questions@FreeBSD.ORG Thu Feb 22 12:24:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5FC9016A476 for ; Thu, 22 Feb 2007 12:24:18 +0000 (UTC) (envelope-from karol.kwiat@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 574BE13C49D for ; Thu, 22 Feb 2007 12:24:17 +0000 (UTC) (envelope-from karol.kwiat@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so292787nfc for ; Thu, 22 Feb 2007 04:24:16 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type; b=uQhuAr1z6b2JhDPyQEO1KROtP45aFxx5h9a+HQE38UnO949mLU+WsHKprmwLv12b1YRiZgpFKDs0igrUDVvqDsyLTUwSm9q18Ps7ClidtKnUwTOBx+fHel9LD0evRDM73cwG95WRp3CpiEbIS7IC+XZGmklZssz0I7MLIQvdy2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type; b=c0iR/jk2/rHf7fuAirjZs1KRSA4PsICJIIqlWLonENvV3vRY2L3NLJEySWhpCvQgVF6SN6GW1c9JRiXXLRCmEPcznz5MxC9Ul+gZjAbenItjEi6Ot5leDks6R0iNGKxg8Q73HgCv3asJHItte98u+5Rcl7SDll7m+Tu6vteG4B0= Received: by 10.49.64.18 with SMTP id r18mr3411919nfk.1172147053172; Thu, 22 Feb 2007 04:24:13 -0800 (PST) Received: from blackacidevil.orchid.homeunix.org ( [84.10.174.25]) by mx.google.com with ESMTP id g8sm1424419muf.2007.02.22.04.24.11; Thu, 22 Feb 2007 04:24:12 -0800 (PST) Message-ID: <45DD8B5D.5090008@gmail.com> Date: Thu, 22 Feb 2007 13:23:57 +0100 From: Karol Kwiatkowski User-Agent: Thunderbird 2.0b2 (X11/20070130) MIME-Version: 1.0 To: Zbigniew Szalbot References: <1257.192.168.11.11.1172138104.squirrel@lists.lc-words.com> In-Reply-To: <1257.192.168.11.11.1172138104.squirrel@lists.lc-words.com> X-Enigmail-Version: 0.94.2.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigFC068C9015BF5AEF92FF1AD6" Cc: freebsd-questions@freebsd.org Subject: Re: php upgrade to 5.2.1 fails because of extensions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: karol.kwiat@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 12:24:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFC068C9015BF5AEF92FF1AD6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Zbigniew Szalbot wrote: > Hello, Hi, > I know this is not the php list but looking for your advice. I wanted t= o > upgraded php 5.1.6 to 5.2.1 because of vulnarabilities but it failed to= > install extenstions. There seems to be an error with extenstions in 5.2= =2E1. What error, which extension? Seems to work fine here: $ uname -prs FreeBSD 6.2-STABLE i386 $ pkg_info -Ix php php5-5.2.1_2 PHP Scripting Language (Apache Module and CLI) php5-bz2-5.2.1_2 The bz2 shared extension for php php5-calendar-5.2.1_2 The calendar shared extension for php php5-ctype-5.2.1_2 The ctype shared extension for php php5-dom-5.2.1_2 The dom shared extension for php php5-extensions-1.1 A "meta-port" to install PHP extensions php5-gd-5.2.1_2 The gd shared extension for php php5-iconv-5.2.1_2 The iconv shared extension for php php5-mcrypt-5.2.1_2 The mcrypt shared extension for php php5-mhash-5.2.1_2 The mhash shared extension for php php5-openssl-5.2.1_2 The openssl shared extension for php php5-pcre-5.2.1_2 The pcre shared extension for php php5-pdo-5.2.1_2 The pdo shared extension for php php5-pdo_sqlite-5.2.1_2 The pdo_sqlite shared extension for php php5-posix-5.2.1_2 The posix shared extension for php php5-session-5.2.1_2 The session shared extension for php php5-simplexml-5.2.1_2 The simplexml shared extension for php php5-spl-5.2.1_2 The spl shared extension for php php5-sqlite-5.2.1_2 The sqlite shared extension for php php5-tokenizer-5.2.1_2 The tokenizer shared extension for php php5-xml-5.2.1_2 The xml shared extension for php php5-xmlreader-5.2.1_2 The xmlreader shared extension for php php5-xmlwriter-5.2.1_2 The xmlwriter shared extension for php php5-zlib-5.2.1_2 The zlib shared extension for php > I cannot downgrade (I issued sudo portupgrade -m > -DDISABLE_VULNERABILITIES -f php5 changing the Makefile and distinfo > entries to point to 5.1.6 and issuing make makesum and got): No, no, no, don't do that :) Changing port version is not simply as that. Many times you'll need patches for a specific version in ports_name/files directory. That is why your attempt failed. Btw, if you really want to downgrade have a look at ports-mgmt/portdowngrade. > Nor can I upgrade as these php5-extenstions won't install. Could anyone= > advise what to do? Update your ports tree to a clean one (without your modifications to php port). Try again (be sure to upgrade any required dependencies), send errors if any. Regards, Karol --=20 Karol Kwiatkowski OpenPGP 0x06E09309 --------------enigFC068C9015BF5AEF92FF1AD6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF3YtjezeoPAwGIYsRCDyUAJ9KzJvZg61FTC4DgZYyGl8UR/6/XACgjDzj YyVexNaY3FlRIZaKqh3ptQ8= =e2Fx -----END PGP SIGNATURE----- --------------enigFC068C9015BF5AEF92FF1AD6--