Opened 22 months ago
Closed 22 months ago
#66725 closed enhancement (fixed)
Add php82 to variants for phpmyadmin
Reported by: | ednl (Ewoud Dronkert) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | phpmyadmin |
Description
The default version for php
is php82 but phpmyadmin @5.2.0_0
has php81 as the default variant, with php82 unavailable as a variant.
I think it would be safest to keep php81 as the default variant for phpmyadmin, because I saw Fix PHP 8.2 deprecated string interpolation syntax
in the phpmyadmin release notes for the as yet unreleased version 5.2.1, see https://demo.phpmyadmin.net/master-config/index.php?route=/changelog , but that is just a cosmetic fix, not functional. Phpmyadmin 5.2.0 works with php82 and I would like to use them in that combination. Thanks!
Change History (4)
comment:1 Changed 22 months ago by jmroot (Joshua Root)
Keywords: | phpmyadmin php php82 removed |
---|---|
Owner: | set to ryandesign |
Port: | @5.2.0_0 removed |
Status: | new → assigned |
Type: | update → enhancement |
comment:2 Changed 22 months ago by ednl (Ewoud Dronkert)
comment:3 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
If you would like changes made to MacPorts regarding what you wrote in comment:2, please file a separate ticket with more details since I'm not aware of any of it, or file a pull request if you can make the needed changes yourself.
comment:4 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I fixed this for myself locally by editing the phpmyadmin port file:
sudo port edit phpmyadmin
and adding these php82 references: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 thephpinfo()
output under mysqlnd: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?