Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2022 14:53:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 265194] lang/php80: problem with disabled zts option
Message-ID:  <bug-265194-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265194

            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=3D235239&action=
=3Dedit
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 sup=
port
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 st=
ill
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?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265194-7788>