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

a PHP interface to MySQL databases, including the mysql, mysqli and pdo_mysql extensions
Version: 5.6.40 License: PHP-3.01 GitHub
Maintainers ryandesign
Categories databases php
Platforms darwin freebsd
  • 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)
  • mysqlnd (Use MySQL Native Driver)
  • universal (Build for multiple architectures)

Subport(s) (512)


"php56-mysql" depends on

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

Ports that depend on "php56-mysql"

Port notes

To use mysqlnd with a local MySQL server, edit ${prefix}/etc/php56/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)


Requested Installations (30 days)