Z
Z
Zohei2014-10-09 00:10:37
PHP
Zohei, 2014-10-09 00:10:37

How to configure ports when installing on FreeBSD using pkgng?

Hello everyone)
Faced the following problem.
After doing pkg upgrade and updating php found that it was built with standard options. A bunch of modules are missing, like openssl.
Does the pkg package manager collect everything with standard options? How to configure some ports during installation?
Google tells me to do
pkg lock php
make && make install php
pkg unlock php
Is this normal practice or is there another way? How to update correctly?)
Thank you)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Petrikov, 2014-10-09
@Zohei

Firstly, you do not use ports, but packages, for free - this is a huge difference. Secondly, for fries, I personally would advise using ports, in the assembled packages there is often no need.
Let something like this:
portsnap fetch (Download the ports tree)
portsnap extract (For the first time, then update)
whereis php5 (Well, or the desired port)
cd /usr/ports/lang/php5
make config (set the necessary build options)
make install clean ( set port)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question