php5.0.3_1 doesn't run after update

bob bobself at charter.net
Mon Dec 20 13:45:49 PST 2004


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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to "freebsd-stable-unsubscribe at 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



More information about the freebsd-stable mailing list