From owner-freebsd-questions@FreeBSD.ORG Tue Aug 14 00:42:14 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F09C16A417 for ; Tue, 14 Aug 2007 00:42:14 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 4D15C13C45D for ; Tue, 14 Aug 2007 00:42:14 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 28555 invoked from network); 13 Aug 2007 19:42:14 -0500 Received: from 203-206-233-219.dyn.iinet.net.au (HELO localhost) (203.206.233.219) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 13 Aug 2007 19:42:13 -0500 Date: Tue, 14 Aug 2007 10:42:09 +1000 From: Norberto Meijome To: "Ian Lord" Message-ID: <20070814104209.26a2f3f8@localhost> In-Reply-To: <02a801c7ddb9$320d2900$6400a8c0@msdi.local> References: <02a801c7ddb9$320d2900$6400a8c0@msdi.local> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Urgent help needed please: pecl-memcache problem after upgrade of php X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2007 00:42:14 -0000 On Mon, 13 Aug 2007 10:49:48 -0400 "Ian Lord" wrote: > Hi, > > > > I just did a portupgrade -a and now memcache doesn't work anymore in php. best practice is to test upgrades before applying them to production :) > > > Here are the version portupgrade installed: > > pecl-memcache-2.1.2 > > memcached-1.2.2 > > php5-5.2.3_1 > > > > In php/error.log I can see this error message > > [13-Aug-2007 10:38:20] PHP Warning: PHP Startup: Unable to load dynamic > library '/usr/local/lib/php/20060613/memcache.so' - > /usr/local/lib/php/20060613/memcache.so: Undefined symbol > "php_session_create_id" in Unknown on line 0 it could be that memcache and php got out of sync with the php modules. try rebuilding all the php modules ( portupgrade -fp php-* ) . the -p will make binary packages after installing the ports [...] > If not able to fix (might be a problem with the port, what is the easiest > way to go back to previous version) - have you kept packages of the previously installed versions? you an use them to revert back - you can try to move the ports tree back to before those upgrades happened, and force a downgrade to those versions. i still think the fastest way is to rebuild php* good luck, B _________________________ {Beto|Norberto|Numard} Meijome "Egotism is the anesthetic that dulls the pain of stupidity." Frank Leahy I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.