[Bug 265194] lang/php80: problem with disabled zts option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Jul 2022 14:53:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265194
Bug ID: 265194
Summary: lang/php80: problem with disabled zts option
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: tz@freebsd.org
Reporter: rainer@ultra-secure.de
Flags: maintainer-feedback?(tz@freebsd.org)
Assignee: tz@freebsd.org
Created attachment 235239
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235239&action=edit
poudriere build long php80-pdo_mysql log
Actually, this problem also happens with php81 and php82.
I had built PHP with the ZTS option for a long time, but recently started
questioning (again) if it was actually the correct way to use.
I run PHP-apps via PHP-FPM and mod_fastcgi (which is apparently also a bit out
of fashion...)
While the port warns you:
"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support
to enable thread-safety in extensions !!!"
It seems like the only case where this really applies is with the
pthread-extension?
Anyway, if I build without that option, some ports, like php80-pdo_mysql still
look for the php80-pdo extension in the -zts subdirectory - while it's
installed in the directory with the same name but without that suffix.
Maybe someone can shed some more light on this?
--
You are receiving this mail because:
You are the assignee for the bug.