Bug #71189 [PATCH]: No space available for static Thread Local Storage
Edit report at https://bugs.php.net/bug.php?id=71189&edit=1
ID: 71189
Patch added by: eg329371@gmail.com
Reported by: php at wesha dot name
Summary: No space available for static Thread Local Storage
Status: Open
Type: Bug
Package: Apache2 related
Operating System: FreeBSD-8.1
PHP Version: 7.0.1
Block user comment: N
Private report: N
New Comment:
The following pull request has been associated:
Patch Name: Update README.md
On GitHub: https://github.com/php/pecl-php-operator/pull/4
Patch: https://github.com/php/pecl-php-operator/pull/4.patch
Previous Comments:
------------------------------------------------------------------------
[2017-01-04 22:06:52] info at freestyling dot de
Using latest Freebsd 11 + Latest php 7.1 and the problem still exists. Running freebsd in a virtual
box as a note for testing.
------------------------------------------------------------------------
[2016-07-08 07:41:16] vd_all at mail dot ru
Upgrade to FreeBSD 10.3 32bit, Apache 2.4.23, PHP 7.0.8_1.
This problem is still not fixed.
But, on the system running on FreeBSD 64bit with same configuration all work fine.
This error most likely occurs only on 32-bit systems.
Excuse me for my English - I use Google translator
I read a comment inacio (04/05/2016)
What I want to say.
It was possible to run as follows:
1. Disable the ZTS in mod_php70 (cd /usr/ports/www/mod_php70 && make config) settings and
php70 (cd /usr/ports/lang/php70 && make config). Recompile it.
2. Use the prefork module to work (you can also use ITK-MPM)
3. All works well.
In this case, we lose the threads.
------------------------------------------------------------------------
[2016-06-07 17:45:21] php2006 at sensation dot net dot au
Correction to my last comment: --enable-maintainer-zts=no does nothing (it still includes -DZTS). I
accidentally compared with a manually edited Makefile.
Regardless, the presence or lack of -DZTS in the Makefile does not change the behaviour... Apache
still bombs out with the error in the OP.
------------------------------------------------------------------------
[2016-06-07 17:29:37] php2006 at sensation dot net dot au
Same problem with PHP 7.0.7, FreeBSD 8.3, Apache 2.4.x
With regards to ZTS, configure --help says:
--enable-maintainer-zts Enable thread safety - for code maintainers only!!
...but this seems to be enabled by default (generated Makefile contains -DZTS)
Trying configure with --enable-maintainer-zts=no gets rid of the -DZTS from Makefile, but when
compiling with the new config there's still the same error on attempted start.
Original bug is 6+ months old, has anyone found a solution? Thanks.
------------------------------------------------------------------------
[2016-04-05 13:50:59] php at wesha dot name
@inacio: I have absolutely no idea what you are talking about. I have never "set ZTS on
mod_php", and therefore, I have no idea how to unset it. Can you point me to the respective
manuals? Thank you.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=71189
--
Edit this bug report at https://bugs.php.net/bug.php?id=71189&edit=1
Thread (10 messages)