removing a php5-pcre extension
nightrecon at verizon.net
Tue Dec 9 03:22:32 PST 2008
Ivan Voras wrote:
> Zbigniew Szalbot wrote:
>> Now that pcre is included in the base installation, how do I remove it?
>> $ pkg_delete -nv php5-pcre-5.2.6_2
>> pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other
>> packages and may not be deinstalled:
>> pkg_delete: 1 package deletion(s) failed
>> Am I safe just deleting it? Or do I have to rebuild all the above listed
>> ports? Leaving it as is is probably not a good idea...
> Presumably, if you delete it, the listed packages will stop working.
I just ran into this yesterday with a portupgrade. I just did pkg_deinstall
-f (pkg_delete -f does the same in lieu) php5-pcre and so far haven't had
any problems. I also looked at phpinfo(); and it still is containing a
listing for pcre support. YMMV
After the portupgrade php -v (I run php as fastcgi) segfaulted. I ran
the "reorder extensions.ini" script and it then complained about
sqlite.so. Since I don't use that I just commented it out of extensions.ini.
In case anyone else sees the same.
More information about the freebsd-questions