===> Staging for php56-pdo_mysql-5.6.40
===> php56-pdo_mysql-5.6.40 depends on file: /usr/local/include/php/main/php.h - found
===> php56-pdo_mysql-5.6.40 depends on file: /usr/local/lib/php/20131226/pdo.so - found
Error: bad dependency syntax in RUN_DEPENDS
expecting: pattern:origin[@flavour][:target]
got: /usr/local/lib/php/20131226/mysql.so:
Errors with dependencies.
*** Error code 1
Stop.
make[1]: stopped in /usr/local/ports/php56/databases/php56-pdo_mysql
*** Error code 1
I have extracted PHP 5.6 ports from the ports tree before it was removed and provided instructions how to install it.
I have also updated the version from 5.6.39 to the latest 5.6.40.
See: https://github.com/mariancerny/freebsd-ports-php56
mysql_DEPENDS= databases/php${PHP_VER}-mysql
./configure
make install
./configure --with-config-file-path=/usr/local/etc/php-fpm/ --with-config-file-scan-dir=/usr/local/etc/php-fpm/ --with-fpm-user=user --with-fpm-group=group --with-curl --enable-mysqlnd --enable-mbstring --enable-soap --with-mcrypt --with-openssl --enable-calendar --with-gd --enable-inline-optimization --enable-sockets --enable-mbregex --enable-exif --with-jpeg-dir=/var/tmp --with-png-dir=/var/tmp --enable-bcmath --with-mhash --enable-zip --with-mysql --with-pdo-mysql --with-mysqli --enable-ftp --with-gettext --with-xmlrpc --enable-opcache --enable-fpm
./configure --help
and you will see all list of available options