php81-mysql (lang/php) Updated: 1 month, 3 weeks ago Add to my watchlist

a PHP interface to MySQL databases, including the mysqli and pdo_mysql extensions
Version: 8.1.30 License: PHP-3.01 GitHub
Maintainers ryandesign
Categories databases php
Homepage https://www.php.net/mysql
Platforms darwin freebsd
Variants
  • debug (Enable debug support (useful to analyze a PHP-related core dump))
  • mysql51 (Use MySQL 5.1 libraries)
  • mysql55 (Use MySQL 5.5 libraries)
  • mysql56 (Use MySQL 5.6 libraries)
  • mysql57 (Use MySQL 5.7 libraries)
  • mysql8 (Use MySQL 8 libraries)
  • mysqlnd (Use MySQL Native Driver)
  • universal (Build for multiple architectures)

Subport(s) (545)

php

"php81-mysql" depends on

lib (2)
extract (1)
xz
build (2)

Ports that depend on "php81-mysql"

No ports


Port notes

To use mysqlnd with a local MySQL server, edit ${prefix}/etc/php81/php.ini and set mysql.default_socket, mysqli.default_socket and pdo_mysql.default_socket to the path to your MySQL server's socket file.

For mysql51, use ${prefix}/var/run/mysql51/mysqld.sock
For mysql55, use ${prefix}/var/run/mysql55/mysqld.sock
For mysql56, use ${prefix}/var/run/mysql56/mysqld.sock
For mysql57, use ${prefix}/var/run/mysql57/mysqld.sock
For mysql8, use ${prefix}/var/run/mysql8/mysqld.sock
For mariadb, use ${prefix}/var/run/mariadb/mysqld.sock
For percona, use ${prefix}/var/run/percona/mysqld.sock


Port Health:

Loading Port Health

Installations (30 days)

24

Requested Installations (30 days)

22