zts

How to compile PHP 7.1 with ZTS

谁都会走 提交于 2019-12-23 03:32:16
问题 I see on the github PThread project page that php7+ is supported. I have php7.1.6 on an ubuntu distribution (16.04) I can't find any PPA that offer php7.1-zts. How can i enable zts on php7.1 to install pthreads ? 回答1: This is my setup script #!/bin/bash mkdir -p /etc/php7 mkdir -p /etc/php7/cli git clone https://github.com/php/php-src.git -b PHP-7.0.17 --depth=1 cd php-src/ext git clone https://github.com/krakjoe/pthreads -b master pthreads cd .. ./buildconf --force ./configure --prefix=/etc

PHP, enable ZTS, Pthreads

扶醉桌前 提交于 2019-12-10 18:53:39
问题 I need ZTS to be enabled in php. So I recompiled php from source with '--enable-maintainer-zts' option. Now I have: "php -v" PHP 7.0.11 (cli) (built: Oct 3 2016 12:19:10) ( ZTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies "php -i" Thread Safety => enabled Now I am trying to do "sudo pecl install pthreads" which answers me checking whether to enable pthreads... yes, shared checking whether to enable AddressSanitizer for pthreads... no

How to compile PHP 7.1 with ZTS

故事扮演 提交于 2019-12-07 03:01:27
I see on the github PThread project page that php7+ is supported. I have php7.1.6 on an ubuntu distribution (16.04) I can't find any PPA that offer php7.1-zts. How can i enable zts on php7.1 to install pthreads ? This is my setup script #!/bin/bash mkdir -p /etc/php7 mkdir -p /etc/php7/cli git clone https://github.com/php/php-src.git -b PHP-7.0.17 --depth=1 cd php-src/ext git clone https://github.com/krakjoe/pthreads -b master pthreads cd .. ./buildconf --force ./configure --prefix=/etc/php7 --with-bz2 --with-zlib --enable-zip --disable-cgi \ --enable-soap --enable-intl --with-mcrypt --with