Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2004 16:45:46 -0500
From:      bob <bobself@charter.net>
To:        noackjr@alumni.rice.edu
Cc:        freebsd-stable@freebsd.org
Subject:   Re: php5.0.3_1 doesn't run after update
Message-ID:  <41C7480A.9090302@charter.net>
In-Reply-To: <1495.192.168.1.50.1103578560.squirrel@192.168.1.50>
References:  <41C74143.30303@charter.net> <1495.192.168.1.50.1103578560.squirrel@192.168.1.50>

next in thread | previous in thread | raw e-mail | index | archive | help
Jon Noack wrote:

>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
>
>_______________________________________________
>freebsd-stable@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>
>
>  
>
I didn't want to update some things that I no longer use (thunderbird, 
eg). I've started running a web server on this machine and I don't care 
about x-windows things now. I'm not sure if my thinking is correct on 
this. It seemed a little less risky.

Should I run "portupgrade -f php5" before or after php5-extensions 
and/or php5-session, etc? Here's what portversion -v says:

php5-5.0.3_1                =  up-to-date with port
php5-extensions-1.0         =  up-to-date with port
php5-gd-5.0.3_1             =  up-to-date with port
php5-mysql-5.0.3_1          =  up-to-date with port
php5-pcre-5.0.3_1           =  up-to-date with port
php5-pear-5.0.3_1           =  up-to-date with port
php5-session-5.0.3_1        =  up-to-date with port
php5-xml-5.0.3_1            =  up-to-date with port
php5-zlib-5.0.3_1           =  up-to-date with port

If it's just a problem with the extensions directory, can I change the 
pointer to point to the right directory? Do you know where that is?

Bob



-- 
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41C7480A.9090302>