From owner-freebsd-questions@FreeBSD.ORG Tue Aug 14 07:02:24 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 86E2A16A417 for ; Tue, 14 Aug 2007 07:02:24 +0000 (UTC) (envelope-from mailing-lists@msdi.ca) Received: from spamfirewall.msdsky.com (spamfirewall.msdsky.com [64.18.66.8]) by mx1.freebsd.org (Postfix) with ESMTP id 3E01213C465 for ; Tue, 14 Aug 2007 07:02:24 +0000 (UTC) (envelope-from mailing-lists@msdi.ca) X-ASG-Debug-ID: 1187074941-7f7700240000-jLrpzn X-Barracuda-URL: http://spamfirewall.msdsky.com:80/cgi-bin/mark.cgi X-Barracuda-Connect: unknown[64.18.67.9] X-Barracuda-Start-Time: 1187074941 Received: from mail02.msdihosting.net (unknown [64.18.67.9]) by spamfirewall.msdsky.com (Spam Firewall) with ESMTP id ED80024F31; Tue, 14 Aug 2007 03:02:21 -0400 (EDT) Received: from dell390 ([70.81.60.158]) by mail02.msdihosting.net ((iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003))) with ASMTP id QRI44553; Tue, 14 Aug 2007 03:02:33 -0400 From: "Ian Lord" To: "'B. Cook'" References: <02a801c7ddb9$320d2900$6400a8c0@msdi.local> <46C09AC3.7060007@poughkeepsieschools.org> X-ASG-Orig-Subj: RE: Urgent help needed please: pecl-memcache problem after upgrade of php Date: Tue, 14 Aug 2007 03:01:15 -0400 Message-ID: <032801c7de40$e81a4f20$6400a8c0@msdi.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 thread-index: Acfd0v2LRaeFr34UR4iz+JxZWgaEqAAD2MUw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <46C09AC3.7060007@poughkeepsieschools.org> X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at msdsky.com 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 07:02:24 -0000 -----Original Message----- From: B. Cook [mailto:bcook@poughkeepsieschools.org]=20 Sent: 13 ao=FBt 2007 13:54 To: Ian Lord Subject: Re: Urgent help needed please: pecl-memcache problem after = upgrade of php Have you tried rebuilding the port? memcache to reflect your current version of php? Thats usually what I need to do. cd /usr/ports/www/memcache (or whatever it is..) make clean && make && make deinstall && make install && sync then try a php -v or php-cgi -v and see what happens. Ian Lord wrote, On 8/13/07 10:49 AM: > Hi, >=20 > =20 >=20 > I just did a portupgrade -a and now memcache doesn't work anymore in = php. >=20 > =20 >=20 > Here are the version portupgrade installed: >=20 > pecl-memcache-2.1.2 >=20 > memcached-1.2.2 >=20 > php5-5.2.3_1 >=20 > =20 >=20 > In php/error.log I can see this error message >=20 > [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 >=20 > =20 >=20 > Can anyone help please >=20 > =20 >=20 > If not able to fix (might be a problem with the port, what is the = easiest > way to go back to previous version) >=20 > =20 >=20 > Thanks >=20 > =20 >=20 > p.s. Please reply to me directly as I am only registered on the digest list >=20 > =20 >=20 > =20 >=20 > =20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" --=20 B. Cook Network Analyst Poughkeepsie City School District Mobile: 845.264.5827 | Desk: 845.451.4791 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thanks for your help... The problem was not with the memcache port but with the pecl-memcache port... Doing as you suggested, fixed the problem make clean, followed by a make deinstall and make install Before sending the message I already tried a make deinstall / make = reinstall and it didn=92t work. Any idea why 1- Portupgrade broke the thing ? 2- a make clean/make deinstall/make install is better than a make deinstall/make reinstall ? Thanks