I
I
Ivan Kolesnik2017-01-26 22:46:03
linux
Ivan Kolesnik, 2017-01-26 22:46:03

Compile PHP extension given multiple interpreters?

There is a VPS with CentOS (7.3, not the essence.) And Webuzo as a control panel on board. At the same time, there are several independent PHP interpreters: one for the control panel, and the second - for the work, roughly speaking, sites.
There is a need to install the ZMQ extension on the server. I managed to compile and install it on the first interpreter (on which the panel works), because it is selected by default, and I can’t think of how to put it on the second one. Any ideas? The standard installation sequence is:
1. ./configure
2. make
3. sudo make install.
4. sudo ldconfig
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2017-01-26
@dart_kinselok

./configure --with-php-config=/path/to/desired-version/php-config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question