Topic: PHP 8.1(CLI) ZTS (Zend Thread Safety)

Hello all,

Is there a way to install the ZTS (Zend Thread Safety) version of the PHP 8.1 CLI binary? I current install the binary using "yum install php81-php-cli".

Any help will be greatly appreciated.

Kind Regards.

Re: PHP 8.1(CLI) ZTS (Zend Thread Safety)

ZTS build is only available as "single version"
See the wizard instructions.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP 8.1(CLI) ZTS (Zend Thread Safety)

Remi wrote:

ZTS build is only available as "single version"
See the wizard instructions.

I still do not see any specific instructions for the ZTS build in the wizard.
https://i.ibb.co/HdwLFWS/Screen-Shot-2022-08-11-at-6-52-12-AM.png
yum search php-* I only see php-cli.x86_64 : Command-line interface for PHP

Re: PHP 8.1(CLI) ZTS (Zend Thread Safety)

the "php-cli" package provides 2 binaries

php (NTS build)
zts-php (ZTS build)

$ php -v
PHP 8.0.22 (cli) (built: Aug  2 2022 08:01:15) ( NTS gcc x86_64 )

$ zts-php -v
PHP 8.0.22 (cli) (built: Aug  2 2022 08:01:15) ( ZTS gcc x86_64 )
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi