Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2010 11:02:17 -0400
From:      "Dan Langille" <dan@langille.org>
To:        "Alex Dupre" <ale@FreeBSD.org>
Cc:        "ports@freebsd.org" <ports@freebsd.org>, Scot Hetzel <swhetzel@gmail.com>, Dan Langille <dan@langille.org>
Subject:   Re: php5 upgrade woes
Message-ID:  <2f4c63ac38300917d08eccf4a4ccc65e.squirrel@nyi.unixathome.org>
In-Reply-To: <4BC86EEC.1010306@FreeBSD.org>
References:  <4BC7F0AF.1010903@langille.org> <y2v790a9fff1004152340oa3a86cb5g62b0cfc45c6aaf00@mail.gmail.com> <4BC81924.2070305@FreeBSD.org> <F7001254-1FC0-4051-B5CA-DC4C91BBF7E5@langille.org> <4BC86EEC.1010306@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, April 16, 2010 10:06 am, Alex Dupre wrote:
> Dan Langille ha scritto:
>> Tried that.
>
> Then you have a screwed up php installation. Remove every php port, rm
> -rf /usr/local/include/php and restart.

Good progress there. The install of php5-extensions completed.

Only issue now:

[dan@ngaio:~] $ which php
/usr/local/bin/php
[dan@ngaio:~] $ php
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20090626/spl.so' - Cannot open
"/usr/local/lib/php/20090626/spl.so" in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20090626/pcre.so' - Cannot open
"/usr/local/lib/php/20090626/pcre.so" in Unknown on line 0

and FYI:

$ find /usr/local/lib/php -name spl.so
/usr/local/lib/php/20060613/spl.so

$ find /usr/local/lib/php -name pcre.so
/usr/local/lib/php/20060613/pcre.so


Should I have removed /usr/local/lib/php as well?


-- 
Dan Langille -- http://langille.org/




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