Port details |
- mod_php81 PHP Scripting Language (8.1.X branch)
- 8.1.31 www =5 8.1.14Version of this port present on the latest quarterly branch.
- DEPRECATED: Upstream EOL reaches on 2025-12-31
EXPIRATION DATE: 2025-12-31
- Maintainer: bofh@FreeBSD.org
- 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:: 7-zip, tomcat101, samba416, mysql80-server, subversion
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- mod_php81>0:www/mod_php81
- Conflicts:
- CONFLICTS_INSTALL:
- 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 = 1732354131
SHA256 (php-8.1.31.tar.xz) = c4f244d46ba51c72f7d13d4f66ce6a9e9a8d6b669c51be35e01765ba58e7afca
SIZE (php-8.1.31.tar.xz) = 11916684
Packages (timestamps in pop-ups are UTC):
- Master port: lang/php81
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- re2c>0 : devel/re2c
- pkgconf>=1.3.0_1 : devel/pkgconf
- apxs : www/apache24
- autoconf>=2.72 : devel/autoconf
- automake>=1.17 : devel/automake
- Runtime dependencies:
-
- apxs : www/apache24
- Library dependencies:
-
- libargon2.so : security/libargon2
- libpcre2-8.so : devel/pcre2
- libxml2.so : textproc/libxml2
- This port is required by:
- for Run
-
- deskutils/moregroupware
- www/phpgroupware
Configuration Options:
- ===> The following configuration options are available for mod_php81-8.1.31:
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:
|
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 |
Commit | Credits | Log message |
8.1.14 25 Jan 2023 21:13:29 |
Muhammad Moinur Rahman (bofh) |
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 |
Muhammad Moinur Rahman (bofh) |
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 ) |
8.1.8_1 09 Jul 2022 16:04:31 |
Muhammad Moinur Rahman (bofh) |
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 |
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 ) |
8.1.4_2 10 Apr 2022 19:11:41 |
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) |
8.1.4_1 26 Mar 2022 08:27:27 |
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 |
8.1.1 29 Dec 2021 02:09:08 |
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 ) |