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: http://www.php.net/
===> The following configuration options are available for php56-5.6.39:
CLI=on: Build CLI version
CGI=on: Build CGI version
FPM=on: Build FPM version
EMBED=on: Build embedded library
PHPDBG=off
DEBUG=off: Enable debug
DTRACE=off: Enable DTrace support
IPV6=on: IPv6 protocol support
MAILHEAD=off: Enable mail header patch
LINKTHR=on: Link thread lib (for threaded extensions)
ZTS=off: Force Zend Thread Safety (ZTS) build
===> Use 'make config' to modify these settings
Remove expired ports:
2018-12-30 textproc/pecl-xdiff: Works only with EOL php 5.6
2019-01-01 www/mod_http2-devel: Use the module that is shipped with Apache 2.4
2019-01-01 www/varnish5: Varnish 5 is Retired
2018-12-30 security/pecl-ssh2-0: Works only with EOL php 5.6
2019-01-01 security/bitwarden-ruby: Expects very specific rubygem versions for
new updates. Please follow instructions in git repo.
2018-12-30 devel/pecl-intl: Works only with EOL php 5.6
2018-12-30 devel/pecl-APCu4: Works only with EOL php 5.6
2018-12-30 databases/pecl-memcache: Works only with EOL php 5.6
2018-12-30 databases/pecl-memcached2: Works only with EOL php 5.6
2018-12-30 math/pecl-bitset2: Works only with EOL php 5.6
2019-01-01 multimedia/zoneminder-h264: h264 feature was commited to main branch,
please upgrade to www/zoneminder
2019-01-01 lang/php56: Security Support ends on 31 Dec 2018
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
lang/php*: link with -znotext on i386
This port links some non-PIC code, which fails with lld as it defaults
to disallowing relocations against read-only segments. For i386 we can
just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's
existing default.
PR: 214864, 230207
Approved by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17193
Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
PR: 226242
Submitted by: mat
Exp-run by: antoine
Approved by: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14208
- 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).
- Remove redundant definitions of IPV6_DESC and [OPEN]SSL_DESC when closely
matching standard ones from `Mk/bsd.options.desc.mk'
- Rename couple of options to standard name or the one that better reflects
their usage
Fix running make test for php extensions (and maybe php itself)
With the default configuration, all the directives are removed from with
egrep. Then, egrep, seeing that it does not output any line, will
exit(1).
With hat: portmgr
Sponsored by: Absolight
Change www/php*-session's priority to be loaded before most other PHP
extensions.
Many PHP extensions were adding a build dependency on session, so that
it was loaded first. This is now no longer needed, we have a nice
framework handle the extensions ordering.
PR: 203741
Sponsored by: Absolight
Don't use extension.ini any more, and have each extension install in its
file, so the order remains the same.
Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php. A PHP extension will be automatically activated
when installed. The order into which extensions are loaded is
automatically guessed. In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php
section of the Porter's Handbook for more information.
Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.
And finally, bump PORTREVISION for all php extensions.
PR: 210697
Submitted by: mat
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D7022
If DEFAULT_VERSIONS=php=* is set, then PHP_DEFAULT will be overridden
in bsd.default-versions.mk later, and the value from the Makefile will
not be used at all. We would change bsd.default-versions.mk, but really
these ports should not be changing what the "default" it. Change to
modifying what the "current" version is as PHP_VER.
This fixes some cases of 'make check-sanity' not passing for php extension
ports in Poudriere where there is no LOCALBASE/etc/php.conf to set a proper
PHP_VER. In these cases the PHP_DEFAULT value (of 5.6) is used rather than
the version set by the extension Makefile and the later checks for
whether that version has that extension may incorrectly error.
lang/php56: update 5.6.21 -> 5.6.22 [1] plus minor fixup
- Fix MAILHEAD patch to match the new version of the patch. The distinfo
currently matches the php-5.5.x-mail-header.patch.old patch. [2]
PR: 209779 [1]
PR: 208072 [2]
Reported by: Fabiano Sidler <fabianosidler@swissonline.ch> [1]
Reported by: Vladislav V. Prodan <admin@support.od.ua> [2]
Approved by: ports-secteam (with hat)
Security: CVE-2013-7456
Security: CVE-2016-5093
Security: CVE-2016-5094
Security: CVE-2016-5096
Security: https://vuxml.FreeBSD.org/freebsd/6b110175-246d-11e6-8dd3-002590263bf5.html
MFH: 2016Q2
Move MySQL support from bsd.databases.mk to Uses/mysql.mk.
Also, USE_MYSQL can't happen after bsd.port.pre.mk because it is a USES.
PR: 208971
Submitted by: mat
Exp-run by: antoine
With hat: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D5951
Move USE_BDB support from bsd.databases.mk to its own file.
Also:
- Deorbit WANT_BDB_VER, one can use USES=bdb:<ver> instead.
- USE_BDB can't happen after bsd.port.pre.mk because it is a USES.
PR: 208971
Submitted by: mat
Exp-run by: antoine
With hat: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D5951
Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.
Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.
Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)
Reviewed by: antoine, bapt
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3336
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight