$ sudo port install php72-apache2handler
$ sudo port install php72-mysql php72-mongodb php72-pear php72-mbstring php72-mcrypt php72-gd php72-curl php72-openssl php72-xsl php72-xmlrpc php72-zip php72-oauth php72-memcached php71-igbinary php72-iconv php72-imap php72-geoip php72-markdown php72-mailparse php72-pdflib php72-redis php72-excel
$ sudo port install php72-gettext
$ sudo port install php71-xdebug


  php72-mysql has the following notes:
    To use mysqlnd with a local MySQL server, edit /opt/local/etc/php72/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 /opt/local/var/run/mysql5/mysqld.sock
    For mysql51, use /opt/local/var/run/mysql51/mysqld.sock
    For mysql55, use /opt/local/var/run/mysql55/mysqld.sock
    For mysql56, use /opt/local/var/run/mysql56/mysqld.sock
    For mariadb, use /opt/local/var/run/mariadb/mysqld.sock
    For percona, use /opt/local/var/run/percona/mysqld.sock

  php71-xdebug has the following notes:
    You can get a list of the available configuration settings for xdebug with the following command:
        php71 --ri xdebug
    For more information and details about configuration settings, see http://www.xdebug.org/docs/



Install Phalcon with PHP 7.2 on OSX
Tagged on: