Answer the question
In order to leave comments, you need to log in
How to make PHP-ZTS on ubuntu 18?
Hello! Can't build PHP for multithreading. I'm using version 8.0.13 (download it here https://www.php.net/downloads.php , file: php-8.0.13.tar.xz )
Here are the compilation settings I use
./configure
--prefix=/usr/local/php
--with-config-file-path=/usr/local/php/etc
--enable-fpm
--with-fpm-www-data
--with-fpm-www-data
--with-mysqli
--with-pdo-mysql
--with-iconv-dir
--with-freetype-dir
--with-jpeg-dir
--with-png-dir
--with-zlib
--with-libxml-dir=/usr
--enable-xml
--disable-rpath
--enable-bcmath
--enable-shmop
--enable-sysvsem
--enable-inline-optimization
--with-curl
--enable-mbregex
--enable-mbstring
--enable-ftp
--with-gd
--with-openssl
--with-mhash
--enable-pcntl
--enable-sockets
--with-xmlrpc
--enable-zip
--enable-soap
--without-pear
--with-gettext
--disable-fileinfo
--enable-maintainer-zts
--enable-keeper-zts
--enable-zts
--enable-parallel
--enable-parallel-coverage
--enable-parallel-dev
--enable-roxen-zts
make -j4
make install
PHP 7.2.24-0ubuntu0.18.04.10 (cli) (built: Oct 25 2021 17:47:59) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.24-0ubuntu0.18.04.10, Copyright (c) 1999-2018, by Zend Technologies
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question