Fix GH-1402: PHP 8.* ZTS wrong compilation flag for Linux

This commit is contained in:
Christoph M. Becker 2022-02-28 14:34:15 +01:00
parent 72f3125b6d
commit 91da56315c
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6
4 changed files with 21 additions and 3 deletions

View file

@ -47,6 +47,18 @@
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.enable-zts">
<term>
<option role="configure">--enable-zts</option>
</term>
<listitem>
<para>
Enables thread safety.
Prior to PHP 8.0.0 on non-Windows systems, the option was called
<option role="configure">--enable-maintainer-zts</option>.
</para>
</listitem>
</varlistentry>
</variablelist>
</sect3>

View file

@ -7,7 +7,9 @@
<simplesect xml:id="parallel.requirements">
&reftitle.required;
<para>
parallel requires a build of PHP with ZTS (Zend Thread Safety) enabled ( --enable-maintainer-zts or --enable-zts on Windows )
parallel requires a build of PHP with ZTS (Zend Thread Safety) enabled
(<option role="configure">--enable-zts</option>, or on non-Windows systems prior to PHP 8.0.0,
<option role="configure">--enable-maintainer-zts</option>)
</para>
<caution>
<para>

View file

@ -5,7 +5,9 @@
&reftitle.install;
<para>
PHP needs to be built with ZTS (Zend Thread Safety) mode enabled. If PHP is being built from source, then the <option role="configure">--enable-maintainer-zts</option> configuration option (--enable-zts on Windows) must be used.
PHP needs to be built with ZTS (Zend Thread Safety) mode enabled. If PHP is being built from source,
then the <option role="configure">--enable-zts</option> (or on non-Windows systems prior to PHP 8.0.0,
<option role="configure">--enable-maintainer-zts</option>) configuration option must be used.
</para>
<para>

View file

@ -7,7 +7,9 @@
<section xml:id="pthreads.requirements">
&reftitle.required;
<para>
pthreads requires a build of PHP with ZTS (Zend Thread Safety) enabled ( --enable-maintainer-zts or --enable-zts on Windows )
pthreads requires a build of PHP with ZTS (Zend Thread Safety) enabled
(<option role="configure">--enable-zts</option>, or on non-Windows systems prior to PHP 8.0.0,
<option role="configure">--enable-maintainer-zts</option>)
</para>
<caution>
<para>