[MacPorts] #66725: Add php82 to variants for phpmyadmin
MacPorts
noreply at macports.org
Fri Jan 20 13:20:55 UTC 2023
#66725: Add php82 to variants for phpmyadmin
--------------------------+------------------------
Reporter: ednl | Owner: ryandesign
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: phpmyadmin |
--------------------------+------------------------
Comment (by ednl):
I fixed this for myself locally by editing the phpmyadmin port file: `sudo
port edit phpmyadmin` and adding these php82 references:
{{{
foreach php {php72 php73 php74 php80 php81 php82} {
[...]
if {![variant_isset php72] && ![variant_isset php73] && ![variant_isset
php74] && ![variant_isset php80] && ![variant_isset php81] &&
![variant_isset php82]} {
}}}
The next problem is that php isn't statically compiled with openssl,
apparently, which means that the standard authentication method for mysql8
`caching_sha2_password` does not work, as can be seen from the `phpinfo()`
output under mysqlnd:
{{{
Loaded plugins
mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password
}}}
Enabling the native password option is not recommended because of
exploits. The only good info I saw for how to fix this, with some pros and
cons, is at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252420#c49
Would this be worthy of a new ticket, or is this a known issue/discussion?
--
Ticket URL: <https://trac.macports.org/ticket/66725#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list