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.

Desktop: Fedora 35 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 36 + rpmfusion + remi (SCL only)
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 )
Desktop: Fedora 35 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 36 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi