I am running 4.10 stable. I upgraded to php5.0.3_1 by: cvsup portsdb -Uu pkgdb -vuf portupgrade -v php5-session portupgrade -v php5-mysql ... portupgrade -v php5 PHP Warning: PHP Startup: Unable to load dynamic library /usr/local/lib/php/20041030/session.so I get the same messages for the 12 modules that I updated. In /usr/local/lib/php I have: drwxr-xr-x 2 root wheel 1536 Dec 20 13:58 20040412 drwxr-xr-x 2 root wheel 512 Dec 20 14:00 build drwxr-xr-x 3 root wheel 512 Sep 15 10:31 pear Now much of php doesn't work. How do you fix this? What did I do wrong to cause this to happen? Jim -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.289 / Virus Database: 265.5.4 - Release Date: 12/15/2004
bob wrote:> > I am running 4.10 stable. > > I upgraded to php5.0.3_1 by: > > cvsup > portsdb -Uu > pkgdb -vuf > portupgrade -v php5-session > portupgrade -v php5-mysql > ... > portupgrade -v php5 > > PHP Warning: PHP Startup: Unable to load dynamic library > /usr/local/lib/php/20041030/session.so > > I get the same messages for the 12 modules that I updated. > > In /usr/local/lib/php I have: > > drwxr-xr-x 2 root wheel 1536 Dec 20 13:58 20040412 > drwxr-xr-x 2 root wheel 512 Dec 20 14:00 build > drwxr-xr-x 3 root wheel 512 Sep 15 10:31 pear > > Now much of php doesn't work. How do you fix this? > > What did I do wrong to cause this to happen?Rebuild all of your extensions ("portupgrade -f <port>"). The most recent update of the php5 port changed the extension directory. This probably deserves an entry in UPDATING. Also, any reason you don't use "portupgrade -a"? Jon
On Mon, Dec 20, 2004 at 04:16:51PM -0500 I heard the voice of bob, and lo! it spake thus:> > I am running 4.10 stable. > > I upgraded to php5.0.3_1 by: > > cvsup > portsdb -Uu > pkgdb -vuf > portupgrade -v php5-session > portupgrade -v php5-mysql > ... > portupgrade -v php5you need to update the base (php5) /before/ you update any of the extensions (php5-*), since all you're doing is building them against the old version right before you replace it. I always find it easiest to just do it all at once with something like "portupgrade php5\*", and let it handle the ordering. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet"