S
S
sbh2015-04-14 04:40:40
PHP
sbh, 2015-04-14 04:40:40

How to upgrade PHP on FreeBSD without removing dependencies?

Actually, the task was to switch from 5.3 to 5.5
. If you remove the old version with all pkg remove php53\* modules, then a number of packages that are needed are removed along the way and there is no need to reinstall them later.
Actually, how can you update by removing only PHP with its modules?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Gleb Bogdanov, 2015-04-14
@bogdanov_go

In order not to delete what you need, delete everything one by one.
pkg is a convenient thing, but as a rule it drags everything along with it. It is convenient to install software, but not always uninstall...
The classic way:
freebsd# cd /usr/ports/port_name
freebsd# make deinstall clean

A
athacker, 2015-04-14
@athacker

pkg help delete for the -f switch.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question