notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
mod_php81 PHP Scripting Language (8.1.X branch)
8.1.27_1 www on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 8.1.14Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Upstream EOL reaches on 2024-11-25
Expiration Date EXPIRATION DATE: 2024-11-26
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2021-12-29 02:21:11
Last Update: 2023-01-25 21:13:29
Commit Hash: 8ea662c
People watching this port, also watch:: curl, apache24, pkg, ruby32, zfs-stats
Also Listed In: devel
License: PHP301
WWW:
https://www.php.net/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (9 items)
Collapse this list.
  1. /usr/local/share/licenses/mod_php81-8.1.27_1/catalog.mk
  2. /usr/local/share/licenses/mod_php81-8.1.27_1/LICENSE
  3. /usr/local/share/licenses/mod_php81-8.1.27_1/PHP301
  4. libexec/apache24/libphp.so
  5. @postexec %D/sbin/apxs -e -a -n php %f
  6. @preunexec %D/sbin/apxs -e -A -n php %f
  7. @owner
  8. @group
  9. @mode
Collapse this list.
Dependency lines:
  • mod_php81>0:www/mod_php81
Conflicts:
CONFLICTS_INSTALL:
  • mod_php[0-9][0-9]
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/www/mod_php81/ && make install clean
To add the package, run one of these commands:
  • pkg install www/mod_php81
  • pkg install mod_php81
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mod_php81
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1703153725 SHA256 (php-8.1.27.tar.xz) = 479e65c3f05714d4aace1370e617d78e49e996ec7a7579a5be47535be61f0658 SIZE (php-8.1.27.tar.xz) = 11915228

Packages (timestamps in pop-ups are UTC):
mod_php81
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest8.1.27_18.1.27_1-8.1.27_18.1.27_1---
FreeBSD:13:quarterly8.1.278.1.278.1.208.1.278.1.278.1.278.1.278.1.27
FreeBSD:14:latest8.1.27_18.1.27_18.1.148.1.27_18.1.27_18.1.20-8.1.20
FreeBSD:14:quarterly8.1.278.1.27-8.1.278.1.278.1.278.1.278.1.27
FreeBSD:15:latest8.1.27_18.1.27_1n/a8.1.27_1n/a8.1.27_18.1.27_18.1.27_1
FreeBSD:15:quarterly--n/a-n/a---
Master port: lang/php81
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. re2c>0 : devel/re2c
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. apxs : www/apache24
  4. autoconf>=2.72 : devel/autoconf
  5. automake>=1.16.5 : devel/automake
Runtime dependencies:
  1. apxs : www/apache24
Library dependencies:
  1. libargon2.so : security/libargon2
  2. libpcre2-8.so : devel/pcre2
  3. libxml2.so : textproc/libxml2
This port is required by:
for Run
  1. deskutils/moregroupware
  2. www/phpgroupware

Configuration Options:
===> The following configuration options are available for mod_php81-8.1.27_1: AP2FILTER=off: Use Apache 2.x filter interface (experimental) DEBUG=off: Build with debugging support DTRACE=on: Build with DTrace probes IPV6=on: IPv6 protocol support LINKTHR=on: Link thread lib (for threaded extensions) MYSQLND=on: Build with MySQL Native Driver PCRE=on: Use system pcre instead of bundled one PHPDBG=off: Interactive PHP debugger ZTS=off: Force Zend Thread Safety (ZTS) build ===> Use 'make config' to modify these settings
Options name:
www_mod_php81
USES:
compiler:c11 cpe gnome localbase pkgconfig tar:xz autoreconf:build ssl apache
pkg-message:
****************************************************************************** Consider switching to php-fpm and mod_fast_cgi as per Apache httpd project recommendation. See https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM ****************************************************************************** If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled, add WITH_MPM=event to /etc/make.conf to prevent build failures. ****************************************************************************** Make sure index.php is part of your DirectoryIndex. You should add the following to your Apache configuration file: <FilesMatch "\.php$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.phps$"> SetHandler application/x-httpd-php-source </FilesMatch> ******************************************************************************

Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://raw.githubusercontent.com/php/web-php-distributions/master/
  2. https://www.php.net/distributions/
Collapse this list.
Port Moves
  • port moved here from www/mod_php80 on 2023-12-31
    REASON: Has expired: Security support ended on 2023-11-26

Number of commits found: 7

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
This is a slave port. You may also want to view the commits to the master port: lang/php81
CommitCreditsLog message
8.1.14
25 Jan 2023 21:13:29
commit hash: 8ea662c5f71699443c369821319d211bd91f5901commit hash: 8ea662c5f71699443c369821319d211bd91f5901commit hash: 8ea662c5f71699443c369821319d211bd91f5901commit hash: 8ea662c5f71699443c369821319d211bd91f5901 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
www/mod_php8*: Fix build

USES=apache must be called before bsd.pre.port.mk however this was
overridden using an include clause. During my previous commit on
refactoring apache.mk these include blocks were deleted which causes
failure to the build of these port as USES=apache in preport.mk is never
called. This commit changes and refactors the code.

Fixes: 40843b1 Mk/Uses/apache.mk: Refactor after removal of older versions
8.1.9
06 Aug 2022 21:57:23
commit hash: 62f39629436e88b20db9b439d46daaa5efd9a275commit hash: 62f39629436e88b20db9b439d46daaa5efd9a275commit hash: 62f39629436e88b20db9b439d46daaa5efd9a275commit hash: 62f39629436e88b20db9b439d46daaa5efd9a275 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/php81: Update version 8.1.8=>8.1.9

CLI:
- Fixed potential overflow for the builtin server via the
  PHP_CLI_SERVER_WORKERS environment variable.
- Fixed GH-8952 (Intentionally closing std handles no longer possible).
Core:
- Fixed bug GH-8923 (error_log on Windows can hold the file write lock).
- Fixed bug GH-8995 (WeakMap object reference offset causing TypeError).
Date:
- Fixed bug #80047 (DatePeriod doesn't warn with custom
  DateTimeImmutable).
FPM:
- Fixed zlog message prepend, free on incorrect address.
- Fixed possible double free on configuration loading failure. (Heiko
(Only the first 15 lines of the commit message are shown above View all of this commit message)
8.1.8_1
09 Jul 2022 16:04:31
commit hash: 7d9bad3564f1b91c66af8a4524612c6c8e5a1ac5commit hash: 7d9bad3564f1b91c66af8a4524612c6c8e5a1ac5commit hash: 7d9bad3564f1b91c66af8a4524612c6c8e5a1ac5commit hash: 7d9bad3564f1b91c66af8a4524612c6c8e5a1ac5 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
www/mod_php81: Fix CONFLICTS_INSTALL

- After d4b3ad6 mod_php* ports creates CONFLICTS with php* ports itself

Reported by:    vvd@unislabs.com
Fixes:          d4b3ad make CONFLICTS_INSTALL visible to PHP module ports
MFH:            2022Q3
Sponsored by:   Bounce Experts
8.1.6
13 May 2022 18:56:59
commit hash: 716c17799f1bbd46ffa8cee33f62579bcba82e4ecommit hash: 716c17799f1bbd46ffa8cee33f62579bcba82e4ecommit hash: 716c17799f1bbd46ffa8cee33f62579bcba82e4ecommit hash: 716c17799f1bbd46ffa8cee33f62579bcba82e4e files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
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 View all of this commit message)
8.1.4_2
10 Apr 2022 19:11:41
commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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)
8.1.4_1
26 Mar 2022 08:27:27
commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
textproc/libxml2: bump all dependencies

This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246
8.1.1
29 Dec 2021 02:09:08
commit hash: 44e99def8ddf26311675cb2070eb062e1f7d0da5commit hash: 44e99def8ddf26311675cb2070eb062e1f7d0da5commit hash: 44e99def8ddf26311675cb2070eb062e1f7d0da5commit hash: 44e99def8ddf26311675cb2070eb062e1f7d0da5 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
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 View all of this commit message)

Number of commits found: 7