Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
php82-ffi The ffi shared extension for php
8.2.35_2 devel Σ=0 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.2.0.a1Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Upstream EOL reaches on 2026-12-31
Expiration Date EXPIRATION DATE: 2026-12-31
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-06-11 21:06:06
Last Update: 2022-06-11 21:02:49
Commit Hash: 665b149
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 (3 items)
Collapse this list.
  1. /usr/local/share/licenses/php82-ffi-8.2.35_2/catalog.mk
  2. /usr/local/share/licenses/php82-ffi-8.2.35_2/LICENSE
  3. /usr/local/share/licenses/php82-ffi-8.2.35_2/PHP301
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PHP_PKGNAMEPREFIX}ffi>0:devel/php82-ffi
Conflicts: #
CONFLICTS_INSTALL:
  • php[0-9][0-9]-ffi
To install the port: #
cd /usr/ports/devel/php82-ffi/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/php82-ffi
  • pkg install php82-ffi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: php82-ffi
Flavors: there is no flavor information for this port. #
distinfo: #
TIMESTAMP = 1792589555 SHA256 (php-8.2.35.tar.xz) = 5737b98601fe5ab1b8c5db0c82ed3158acb9283ed3081ffe2faffb9ac81455e6 SIZE (php-8.2.35.tar.xz) = 12216408

Packages (timestamps in pop-ups are UTC): #
php82-ffi
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest8.2.348.2.35_18.2.18.2.298.2.35
FreeBSD:14:quarterly8.2.348.2.35_1-8.2.298.2.35
FreeBSD:15:latest8.2.348.2.35_1n/a8.2.29n/a
FreeBSD:15:quarterly8.2.348.2.35_1n/a-n/a
FreeBSD:16:latest8.2.348.2.35_1n/a-n/a
Master port: lang/php82 #
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. pkgconf>=1.3.0_1 : devel/pkgconf
  2. phpize : lang/php82
  3. autoconf>0 : devel/autoconf
Runtime dependencies: #
  1. php.h : lang/php82
Library dependencies: #
  1. libffi.so : devel/libffi
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
devel_php82-ffi
USES: #
compiler:c11 cpe gnome localbase pkgconfig tar:xz php:ext,noflavors
pkg-message: #
For install:
SECURITY: session upload progress (CVE-2026-115560, informational) php.ini-production and php.ini-development now ship with session.upload_progress.enabled = 0 as a temporary mitigation until the next regular PHP bugfix release. It only takes effect if you copy one of these templates to /usr/local/etc/php.ini. Without a php.ini, the compiled-in default (enabled) applies. Applications that read $_SESSION["upload_progress_*"] (upload progress bars) will stop receiving progress data while this is off.
If upgrading
SECURITY: session upload progress (CVE-2026-115560, informational) Until the next regular PHP bugfix release, session.upload_progress.enabled should be 0. The shipped php.ini-production and php.ini-development now set it, but existing php.ini files are never modified on upgrade, and with no php.ini the compiled-in default (enabled) applies. If you already applied this setting for CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp), keep it; nothing further is needed. The issue needs an unusual combination: session.serialize_handler set to php_binary or php_serialize in configuration, switched to php at runtime with ini_set() before session_start(), with upload progress still enabled. Applications that never change the handler at runtime can keep the feature enabled. Check the effective value per SAPI (CLI and FPM/mod_php may load different ini files): php -r 'var_dump(ini_get("session.upload_progress.enabled"));' For FPM/mod_php, use phpinfo() from a web request. Ini files are read from /usr/local/etc/php.ini and /usr/local/etc/php/*.ini. Check both halves of the precondition: php -r 'var_dump(ini_get("session.serialize_handler"));' grep -rn serialize_handler /usr/local/www /usr/local/etc/php* \ /usr/local/etc/apache2* A match on one half alone is not vulnerable; the combination is. To make runtime switching impossible in FPM, set in the pool config: php_admin_value[session.serialize_handler] = php This breaks applications that legitimately need php_serialize at runtime. After changing any setting, restart the PHP service, e.g.: service php_fpm restart This notice will be removed once the fixed release is in the tree.
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 devel/php81-ffi on 2025-12-31
    REASON: Has expired: Security support ended on 2025-12-31

Number of commits found: 1 #

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/php82
CommitCreditsLog message
8.2.0.a1
11 Jun 2022 21:02:49
commit hash: 665b149d2692ff6926a092568304091995e07d39commit hash: 665b149d2692ff6926a092568304091995e07d39commit hash: 665b149d2692ff6926a092568304091995e07d39commit hash: 665b149d2692ff6926a092568304091995e07d39 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*php82*: Welcome php 8.2.0 Alpha 1

Please DO NOT use this version in production, it is an early test
version.

port-committers@ please DO NOT mark your ports IGNORE_WITH_PHP=82. A
build is running to check all php ports with php82 and will be
committed in batch tomorrow.

Sponsored by:	Bounce Experts

Number of commits found: 1