Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2010 00:39:01 +0200
From:      Zbigniew Szalbot <zszalbot@gmail.com>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   PHP upgrade fails
Message-ID:  <AANLkTik4fxPgCD-yZPe7FseBP59ZdcOEGadKiBc8uvz0@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



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