php70-mysql (lang/php) Add to my watchlist

a PHP interface to MySQL databases, including the mysqli and pdo_mysql extensions
Version: 7.0.33 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))
  • mysql5 (Use MySQL 5 libraries)
  • mysql51 (Use MySQL 5.1 libraries)
  • mysql55 (Use MySQL 5.5 libraries)
  • mysql56 (Use MySQL 5.6 libraries)
  • mysql57 (Use MySQL 5.7 libraries)
  • mysqlnd (Use MySQL Native Driver)
  • universal (Build for multiple architectures)

Subport(s) (512)

php

"php70-mysql" depends on

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

Ports that depend on "php70-mysql"

No ports


Port notes

To use mysqlnd with a local MySQL server, edit ${prefix}/etc/php70/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 mysql5, use ${prefix}/var/run/mysql5/mysqld.sock
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)

3

Requested Installations (30 days)

3