[MacPorts] #69930: php82-mysql, php83-mysql: Add mysql8 variant (was: Add mysql8 variant)

MacPorts noreply at macports.org
Tue May 7 20:21:50 UTC 2024


#69930: php82-mysql, php83-mysql: Add mysql8 variant
---------------------------------------+------------------------
  Reporter:  clouseau                  |      Owner:  ryandesign
      Type:  enhancement               |     Status:  accepted
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.9.3
Resolution:                            |   Keywords:
      Port:  php82-mysql, php83-mysql  |
---------------------------------------+------------------------
Changes (by ryandesign):

 * status:  assigned => accepted
 * port:  php82-mysql => php82-mysql, php83-mysql


Comment:

 The MacPorts php82-mysql port installs both the `mysqli` and `pdo_mysql`
 extensions. Which one does your PHP code use?

 As of PHP 8.2.0alpha3, trying to configure the `mysqli` extension to use
 an external MySQL client library produced this error:

 {{{
 configure: error: Linking mysqli against external library is no longer
 supported
 }}}

 I assumed that this also applied to `pdo_mysql` which was why I
 [changeset:768ca6531ca1ba1b37dbfdcd799c9c0f7e9a0dad/macports-ports removed
 the MySQL variants] for php82-mysql and later and forced the port to use
 mysqlnd—the built-in MySQL Native Driver—only.

 However, I now see that for `pdo_mysql` the ability to use an external
 MySQL client library still exists, so I should reinstate the variants for
 that part. That won't help, of course, if your PHP code uses `mysqli`.

-- 
Ticket URL: <https://trac.macports.org/ticket/69930#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list