Date: Tue, 14 Aug 2007 03:01:15 -0400 From: "Ian Lord" <mailing-lists@msdi.ca> To: "'B. Cook'" <bcook@poughkeepsieschools.org> Cc: freebsd-questions@freebsd.org Subject: RE: Urgent help needed please: pecl-memcache problem after upgrade of php Message-ID: <032801c7de40$e81a4f20$6400a8c0@msdi.local> In-Reply-To: <46C09AC3.7060007@poughkeepsieschools.org> References: <02a801c7ddb9$320d2900$6400a8c0@msdi.local> <46C09AC3.7060007@poughkeepsieschools.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?032801c7de40$e81a4f20$6400a8c0>