PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
Source general-purpose scripting language that is especially suited for
Web development and can be embedded into HTML. Its syntax draws upon C,
Java, and Perl, and is easy to learn. The main goal of the language is to
allow web developers to write dynamically generated webpages quickly, but
you can do much more with PHP.
WWW: https://www.php.net/

Reason:
PHP extensions and modules have been flavored.
People using Poudriere 3.2+ and binary packages do not have to do anything if
they are using PHP applications.
PHP modules and extensions may have change their names from php5- or php7- to
fully versionned phpXY-.
PECL extensions and PEAR modules package names have changed from pecl- and
pear- to phpXX-pecl and phpXX-pear-.
To rename an installed package to match the new naming scheme, for example,
for the imagick pecl extension, run:
# pkg set -n pecl-imagick:php56-pecl-imagick
For other people, to build the PHP 7.2 version of, for example,
databases/php-memcached, you need to run:
# make FLAVOR=php72 install

Reason:
The default versions of lang/php*, databases/postgresql*,
databases/mysql* and www/apache* have been changed to support the
new DEFAULT_VERSIONS variable.
DEFAULT_APACHE_VER, DEFAULT_MYSQL_VER, DEFAULT_PGSQL_VER,
DEFAULT_FPC_VER and DEFAULT_PHP_VER are now deprecated. You can use
the new DEFAULT_VERSIONS variable like this:
DEFAULT_VERSIONS=php=5.5 mysql=5.6 apache=2.4

Port Moves

port moved here from lang/php71 on 2019-12-17REASON: Has expired: upstream security support ended

port moved here from lang/php56 on 2019-01-01REASON: Has expired: Security Support ends on 31 Dec 2018

port moved here from lang/php70 on 2018-12-05REASON: Has expired: Security Support ends on 3 Dec 2018

Number of commits found: 72

Commit History - (may be incomplete: see SVNWeb link above for full details)

Unbreak databases/php72-mysqli when lang/php72 is build with MYSQLND=off
Currently when building lang/php72 with MYSQLND=off, its im possible to
build databases/php72-mysqli. When the option MYSQLND was added, we expected
users to not use mysqli at all after disabling this option.
This has proven to be wrong, so we patch the build to be work again.
patch-ext_mysqli_mysqli__api.c was submitted by Sergei <joker@pinnet.ru>.

PHP: Add Synth to pkg-message advice
pkg-message currently states the advice to add WITH_MPM=event
if its build by poudriere and with ZTS option enabled.
This is also true if Synth is used, therefore adding it.
Reported by: Dennis <denradford@gmail.com>

lang/php72 and lang/php73: improve documentation of php-fpm specific www.conf
If you only define a port to listen in www.conf, PHP defaults to listen
only to IPv6 ports on FreeBSD. On other OS it listens to IPv6 and IPv4.
Since upstream do not want to fix this [1], we add this special case to
the documentation.
Because the configuration file is a @sample it wont be updated for already
changed files. Therefore i do not bump PORTREVISION.
PR: 235141
Submitted by: Artyom Davidov <ard_1@mail.ru>
[1] https://bugs.php.net/bug.php?id=74166

lang/php72: Make enabling MYSQL native driver optional
Currently PHP is always compiled with --enable-mysqlnd, to allow the use
of the native MySQL Native Driver. MySQL Native Driver is a replacement for the
MySQL Client Library.
While this is handy when working with MySQL there is no need for
it when MySQL is *not* used at all. This happens frequently when
working without databases or simply with other databases.
To avoid POLA the newly introduced option is a default option.
Disabling it will reduce the size of the package by ca. 175 KB,
which also helps in modern constraint VM run environments.
Submitted by: Reko Turja <reko.turja@liukuma.net>

Add PHP 7.3 RC2 to the ports-tree.
Notable changes:
- Switch from PCRE to PCRE2
- Many modules now require PCRE2 for building
- graphics/php73-gd: X11 option is no longer default
Changes to Mk/Uses/php.mk approved by ale

graphics/php72-gd: Switch from bundled libgd to graphics/gd
Currently the gd-module uses a bundled libgd, while most systems
already provide the same library via graphics/gd.
Therefore instead of adding the bundled library we use the
port instead.
PR: 217222
Submitted by: Mikhail Teterin <mi@FreeBSD.org>

- Replace USE_AUTOTOOLS with USES=autoreconf:build and run an upstream
script in pre-configure to regenerate configure scripts. Because this
regenerates php_config.h.in, merge a patch for that file into the patch
for configure.in.
- Remove redundant --localstatedir=/var (added by bsd.port.mk).