PHP upgrade fails

Zbigniew Szalbot zszalbot at gmail.com
Thu May 20 23:02:47 UTC 2010


Hello,

long story short - php52 upgarde failed.

php -v
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20090626/pdf.so' - Cannot open
"/usr/local/lib/php/20090626/pdf.so" in Unknown on line 0
PHP 5.3.2 with Suhosin-Patch (cli) (built: May 20 2010 23:47:26)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies


I followed this advice (although I should have done it prior to upgrading):

 As of php 5.3, a few extensions were removed from or included into the core
  php5 package.  Follow the steps below to update your installation.

  1) Delete the following packages (if installed):
     - php5-dbase
     - php5-ncurses
     - php5-pcre
     - php5-spl
     - php5-ming
     - php5-mhash

and then I tried to rebuild php port.

However, php is not working and the ports cannot be updated.

 portupgrade -fv
--->  Session started at: Fri, 21 May 2010 00:36:58 +0200
** None has been installed or upgraded.
--->  Session ended at: Fri, 21 May 2010 00:36:58 +0200 (consumed 00:00:00)

What do I do now? How can I now upgrade the ports? Can you help me,
please? :) Thanks!

-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl


More information about the freebsd-questions mailing list