Page 1 of 1

Pthreads (multiple threads) on VestaCP, Ubuntu 18

Posted: Sun Apr 25, 2021 11:44 pm
by Szektor
Hey all,

I would like to build a php version that has pthreads enabled.
(As I read about it this needs building a new php.)
I found an article that does this:
https://blog.programster.org/ubuntu16-0 ... h-pthreads

My problem is that I change config path like this:

Code: Select all

   --with-pcre-regex --with-config-file-path=/etc/php/7.2/apache2 \
   --with-config-file-scan-dir=/etc/php/7.2/apache2/conf.d --enable-cli --enable-maintainer-zts \
but it still puts everything under /etc/php7/bin

How can I make this work for VestaCP on Ubuntu 18?
Is there anyone who made this working already?