Port details |
- php81 PHP Scripting Language (8.1.X branch)
- 8.1.6 lang
=1 8.1.5Version of this port present on the latest quarterly branch. - Maintainer: bofh@FreeBSD.org
 - Port Added: 2021-12-29 02:21:11
- Last Update: 2022-05-21 21:10:27
- Commit Hash: 1a48e8a
- People watching this port, also watch:: nut, php80-pecl-memcached, pkg, postfix, mkvtoolnix
- Also Listed In: devel www
- License: PHP301
- Description:
- 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/
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- Conflicts Matches:
-
There are no Conflicts Matches for this port. This is usually an error.
- To install the port:
- cd /usr/ports/lang/php81/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/php81
- pkg install php81
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: php81
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1652463112
SHA256 (php-8.1.6.tar.xz) = da38d65bb0d5dd56f711cd478204f2b62a74a2c2b0d2d523a78d6eb865b2364c
SIZE (php-8.1.6.tar.xz) = 11708824
- Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- archivers/php81-bz2
- archivers/php81-phar
- archivers/php81-zip
- archivers/php81-zlib
- converters/php81-iconv
- converters/php81-mbstring
- databases/php81-dba
- databases/php81-mysqli
- databases/php81-odbc
- databases/php81-pdo
- databases/php81-pdo_dblib
- databases/php81-pdo_firebird
- databases/php81-pdo_mysql
- databases/php81-pdo_odbc
- databases/php81-pdo_pgsql
- databases/php81-pdo_sqlite
- databases/php81-pgsql
- databases/php81-sqlite3
- devel/php81-ffi
- devel/php81-gettext
- devel/php81-intl
- devel/php81-pcntl
- devel/php81-readline
- devel/php81-shmop
- devel/php81-sysvmsg
- devel/php81-sysvsem
- devel/php81-sysvshm
- devel/php81-tokenizer
- ftp/php81-curl
- ftp/php81-ftp
- graphics/php81-exif
- graphics/php81-gd
- mail/php81-imap
- math/php81-bcmath
- math/php81-gmp
- misc/php81-calendar
- net/php81-ldap
- net/php81-soap
- net/php81-sockets
- net-mgmt/php81-snmp
- security/php81-filter
- security/php81-sodium
- sysutils/php81-fileinfo
- sysutils/php81-posix
- textproc/php81-ctype
- textproc/php81-dom
- textproc/php81-enchant
- textproc/php81-pspell
- textproc/php81-simplexml
- textproc/php81-xml
- textproc/php81-xmlreader
- textproc/php81-xmlwriter
- textproc/php81-xsl
- www/mod_php81
- www/php81-opcache
- www/php81-session
- www/php81-tidy
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- pkgconf>=1.3.0_1 : devel/pkgconf
- autoconf>=2.69 : devel/autoconf
- automake>=1.16.1 : devel/automake
- Library dependencies:
-
- libargon2.so : security/libargon2
- libpcre2-8.so : devel/pcre2
- libxml2.so : textproc/libxml2
- This port is required by:
- for Build
-
- archivers/php81-bz2
- archivers/php81-phar
- archivers/php81-zip
- archivers/php81-zlib
- converters/php81-iconv
- converters/php81-mbstring
- databases/php81-dba
-
Deleted ports which required this port:
- for Run
-
- archivers/php81-bz2
- archivers/php81-phar
- archivers/php81-zip
- archivers/php81-zlib
- converters/php81-iconv
- converters/php81-mbstring
- databases/php81-dba
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
- Configuration Options:
- ===> The following configuration options are available for php81-8.1.6:
CGI=on: Build CGI version
CLI=on: Build CLI version
DEBUG=off: Build with debugging support
DTRACE=on: Build with DTrace probes
EMBED=on: Build embedded library
FPM=on: Build FPM version
IPV6=on: IPv6 protocol support
LINKTHR=on: Link thread lib (for threaded extensions)
MYSQLND=on: Build with MySQL Native Driver
PHPDBG=off: Interactive PHP debugger
ZTS=off: Force Zend Thread Safety (ZTS) build
===> Use 'make config' to modify these settings
- Options name:
- lang_php81
- USES:
- compiler:c11 cpe gnome pkgconfig tar:xz autoreconf:build ssl
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
21 May 2022 21:10:27 8.1.6
|
Muhammad Moinur Rahman (bofh)  |
lang/php81: Fix REINPLACE_CMD
After the alst upgrade to 8.1.6 the post-patch directive on php.ini-*
are no longer required.
Reported by: sunpoet
Sponsored by: Bounce Experts |
13 May 2022 18:56:59 8.1.6
|
Muhammad Moinur Rahman (bofh)  |
lang/php81: Update version 8.1.5=>8.1.6
* Core:
Fixed bug #8310 (Registry settings are no longer recognized).
Fixed potential race condition during resource ID allocation.
Fixed bug #8133 (Preloading of constants containing arrays with enums
segfaults).
Fixed Haiku ZTS builds.
* Date:
Fixed bug #7752 (DateTimeZone::getTransitions() returns insufficient
data).
Fixed bug #8108 (Timezone doesn't work as intended).
Fixed bug #81660 (DateTimeZone::getTransitions() returns invalid data)
Fixed bug #8289 (Exceptions thrown within a yielded from iterator are
not rethrown into the generator). (Only the first 15 lines of the commit message are shown above ) |
19 Apr 2022 20:49:43 8.1.5
|
Thierry Thomas (thierry)  |
lang/php??, mail/php*-imap: chase panda-cclient |
15 Apr 2022 22:31:12 8.1.5
|
Torsten Zuehlsdorff (tz)  |
lang/php81: Upgrade from 8.1.4 to 8.1.5
Changelog:
Core:
Fixed bug #8176 (Enum values in property initializers leak).
Fixed freeing of internal attribute arguments.
Fixed bug #8070 (memory leak of internal function attribute hash).
Fixed bug #8160 (ZTS support on Alpine is broken).
Filter:
Fixed signedness confusion in php_filter_validate_domain().
Intl:
Fixed bug #8115 (Can't catch arg type deprecation when instantiating
Intl classes).
Fixed bug #8142 (Compilation error on cygwin).
Fixed bug #7734 (Fix IntlPartsIterator key off-by-one error and first
key). (Only the first 15 lines of the commit message are shown above ) |
10 Apr 2022 19:11:41 8.1.4_3
|
Charlie Li (vishwin)  |
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.
PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor) |
26 Mar 2022 08:27:27 8.1.4_2
|
Matthias Fechner (mfechner)  |
textproc/libxml2: bump all dependencies
This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246 |
25 Mar 2022 14:29:03 8.1.4_1
|
Piotr Kubaj (pkubaj)  |
pcre: fix runtime issues on powerpc
In sljitConfigInternal.h, pcre checks for existence of __builtin___clear_cache()
function.
LLVM provides that function for all platforms, even those that don't have
implemented flushing the cache.
This leads to runtime errors on e.g. powerpc (32-bit) with __clear_cache()
calling compilerrt_abort(), resulting in SIGABRT. |
18 Mar 2022 00:59:56 8.1.4
|
Muhammad Moinur Rahman (bofh)  |
lang/php81: Update version 8.1.3=>8.1.4
Core:
Fixed Haiku ZTS build.
Fixed bug #8059 arginfo not regenerated for extension.
Fixed bug #8083 Segfault when dumping uncalled fake closure with
static variables.
Fixed bug #7958 (Nested CallbackFilterIterator is leaking memory).
Fixed bug #8074 (Wrong type inference of range() result).
Fixed bug #8140 (Wrong first class callable by name optimization).
Fixed bug #8082 (op_arrays with temporary run_time_cache leak memory
when observed).
GD:
Fixed libpng warning when loading interlaced images.
FPM: (Only the first 15 lines of the commit message are shown above ) |
18 Feb 2022 19:10:17 8.1.3
|
Piotr Kubaj (pkubaj)  |
lang/php*: remove support for 11 on powerpc64 |
18 Feb 2022 14:23:10 8.1.3
|
Muhammad Moinur Rahman (bofh)  |
lang/php81: Update version 8.1.2=>8.1.3
Core:
Fixed bug #81430 (Attribute instantiation leaves dangling pointer).
Fixed bug #7896 (Environment vars may be mangled on Windows).
Fixed bug #7883 (Segfault when INI file is not readable).
FFI:
Fixed bug #7867 (FFI::cast() from pointer to array is broken).
Filter:
Fix #81708: UAF due to php_filter_float() failing for ints. (CVE-2021-21708)
FPM:
Fixed memory leak on invalid port.
Fixed bug #7842 (Invalid OpenMetrics response format returned by FPM status
page.
MBString:
Fixed bug #7902 (mb_send_mail may delimit headers with LF only). (Only the first 15 lines of the commit message are shown above ) |
12 Feb 2022 20:46:51 8.1.2_1
|
Muhammad Moinur Rahman (bofh)  |
lang/php8[01]: Unbreak with libressl*
lang/php8[01] builds fine with libressl*. Reverting previous partial
commit. Although it takes minor tweaking on unsetting TLS_SRP on
ftp/curl.
PR: 261903
Reported by: vishwin rozhuk.im@gmail.com
Approved by: tz (private email)
Sponsored by: Bounce Experts |
12 Feb 2022 15:41:51 8.1.2_1
|
Muhammad Moinur Rahman (bofh)  |
lang/php8[01]: Make openssl as DEFAULT
After the 91fdbed776033fd4b210135429a171ab5fed549b commit fixing the
issue for MySQL80 introduced another problem for the ports that depends
on php8[01]-openssl port couldn't be built as the fix prevented
php8[01]-openssl from being installed as it's already built with
default php installation. As the problem has grown much bigger now and
php80 is currently the DEFAULT php version so we are switching the
behavior of php8[01] ports making the openssl module as default.
- Remove non-default OPTION MYSQL80 from lang/php8[01]
- Remove ports security/php8[01]-openssl
- Remove OPTION OPENSSL from lang/php8[01]-extensions
- Mark lang/php8[01] to IGNORE with libressl and libressl-devel
Although php builds fine with those most of the extensions do not (Only the first 15 lines of the commit message are shown above ) |
06 Feb 2022 18:46:36 8.1.2
|
Stefan Eßer (se)  |
lang/php??: make CONFLICTS_INSTALL visible to PHP module ports
The definition of CONFLICTS_INSTALL already included ${PKGNAMESUFFIX},
but in a block that was conditional on ${PKGNAMESUFFIX} not being
defined, defying the purpose.
After this change all ports that refer to the lang/php?? interpreter
ports get an automatic CONFLICTS_INSTALL definition that prevents the
installation of the same module for multiple interpreter versions.
This change adds correct CONFLICTS_INSTALL definitions to hundreds of
PHP ports that previously lacked any such definition.
PHP modules can override this generated CONFLICTS_INSTALL definition
in their Makefiles, if required.
Approved by: portmgr (implicit) |
26 Jan 2022 17:11:34 8.1.2
|
Muhammad Moinur Rahman (bofh)  |
www/php81-opcache: Fix zend extension
- Somehow the php:zend in lang/php81 Makefile is not properly read and
using the default php:ext. For now fix it by adding it to the slave
ports.
PR: 261488
Reported by: mfburdett@gmail.com |
26 Jan 2022 00:36:09 8.1.2
|
Muhammad Moinur Rahman (bofh)  |
Remove references to defunct php73
- Add regex in CONFLICTS* [1]
Reported by: se [1]
Approved by: portmgr (blanket infrastructure sweep)
Sponsored by: Bounce Experts
Differential Revision: https://reviews.freebsd.org/D33983 [1] |
21 Jan 2022 14:35:24 8.1.2
|
Muhammad Moinur Rahman (bofh)  |
lang/php81: Update version 8.1.1=>8.1.2
- Remove references to defunct php72
- Change to CONFLICTS_INSTALL for regex pattern to avoid changing while
updating/adding major versions. [1]
- Core:
* Fixed bug #81216 (Nullsafe operator leaks dynamic property name).
* Fixed bug #81684 (Using null coalesce assignment with
$GLOBALS["x"] produces opcode error).
* Fixed bug #81656 (GCC-11 silently ignores -R).
* Fixed bug #81683 (Misleading "access type ... must be public"
error message on final or abstract interface methods).
* Fixed bug #81585 (cached_chunks are not counted to real_size on
shutdown). (Only the first 15 lines of the commit message are shown above ) |
10 Jan 2022 10:52:42 8.1.1
|
Muhammad Moinur Rahman (bofh)  |
lang/php81: Fix some compile-time warning
Sponsored by: Bounce Experts |
04 Jan 2022 18:42:59 8.1.1
|
Piotr Kubaj (pkubaj)  |
lang/php81: fix build on powerpc64le
In file included from
/wrkdirs/usr/ports/lang/php81/work/php-8.1.1/ext/hash/hash_xxhash.c:18:
In file included from ext/hash/php_hash_xxhash.h:21:
In file included from
/wrkdirs/usr/ports/lang/php81/work/php-8.1.1/ext/hash/xxhash/xxhash.h:2412:
/usr/lib/clang/11.0.1/include/altivec.h:55:19: error: unknown type name 'vector'
static __inline__ vector bool char __ATTRS_o_ai
^
/usr/lib/clang/11.0.1/include/altivec.h:56:10: error: unknown type name 'vector'
vec_perm(vector bool char __a, vector bool char __b, vector unsigned char __c);
^
/usr/lib/clang/11.0.1/include/altivec.h:56:32: error: unknown type name 'vector'
vec_perm(vector bool char __a, vector bool char __b, vector unsigned char __c);
^
/usr/lib/clang/11.0.1/include/altivec.h:66:19: error: unknown type name 'vector'
static __inline__ vector bool short __ATTRS_o_ai vec_perm(
Patch from https://github.com/Cyan4973/xxHash/pull/672 |
29 Dec 2021 02:09:08 8.1.1
|
Muhammad Moinur Rahman (bofh)  |
Add php81 to the tree
Core:
Fixed inclusion order for phpize builds on Windows.
Added missing hashtable insertion APIs for arr/obj/ref.
Implemented FR #77372 (Relative file path is removed from uploaded
file).
Fixed bug #81607 (CE_CACHE allocation with concurrent access).
Fixed bug #81507 (Fiber does not compile on AIX).
Fixed bug #78647 (SEGFAULT in zend_do_perform_implementation_check).
Fixed bug #81518 (Header injection via default_mimetype / default_charset).
Fixed bug #75941 (Fix compile failure on Solaris with clang).
Fixed bug #81380 (Observer may not be initialized properly).
Fixed bug #81514 (Using Enum as key in WeakMap triggers GC + SegFault).
Fixed bug #81520 (TEST_PHP_CGI_EXECUTABLE badly set in run-tests.php). (Only the first 15 lines of the commit message are shown above ) |