From: Alex Dupre on
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.

--
Alex Dupre
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Dan Langille" on

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(a)ngaio:~] $ which php
/usr/local/bin/php
[dan(a)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/

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Alex Dupre on
Dan Langille ha scritto:
> Should I have removed /usr/local/lib/php as well?

Your installation was more screwed up than I thought :-)

You can rm -rf /usr/local/lib/php/20060613/ and remove spl and pcre from
/usr/local/etc/php/extensions.ini

- or -

remove again every php ports, rm -rf include/php lib/php etc/php and
rebuild everything


I think the former should be enough and should produce the same result
as the latter.

--
Alex Dupre
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Dan Langille" on

On Fri, April 16, 2010 11:07 am, Alex Dupre wrote:
> Dan Langille ha scritto:
>> Should I have removed /usr/local/lib/php as well?
>
> Your installation was more screwed up than I thought :-)

I always try to exceed expectations.

>
> You can rm -rf /usr/local/lib/php/20060613/ and remove spl and pcre from
> /usr/local/etc/php/extensions.ini
>
> - or -
>
> remove again every php ports, rm -rf include/php lib/php etc/php and
> rebuild everything
>
>
> I think the former should be enough and should produce the same result
> as the latter.

I have time. I will do the former. Just because it seems to be the right
thing to do. I'll report back later.

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

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Dan Langille" on

On Fri, April 16, 2010 11:22 am, Dan Langille wrote:
>
> On Fri, April 16, 2010 11:07 am, Alex Dupre wrote:
>> Dan Langille ha scritto:
>>> Should I have removed /usr/local/lib/php as well?
>>
>> Your installation was more screwed up than I thought :-)
>
> I always try to exceed expectations.
>
>>
>> You can rm -rf /usr/local/lib/php/20060613/ and remove spl and pcre from
>> /usr/local/etc/php/extensions.ini
>>
>> - or -
>>
>> remove again every php ports, rm -rf include/php lib/php etc/php and
>> rebuild everything
>>
>>
>> I think the former should be enough and should produce the same result
>> as the latter.
>
> I have time. I will do the former. Just because it seems to be the right
> thing to do. I'll report back later.

Latter. I meant latter.


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

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"