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
php85-ffi The ffi shared extension for php
8.5.12_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.5.0.a1Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-07-02 16:32:57
Last Update: 2025-07-02 16:29:38
Commit Hash: c0b9892
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/php85-ffi-8.5.12_2/catalog.mk
  2. /usr/local/share/licenses/php85-ffi-8.5.12_2/LICENSE
  3. /usr/local/share/licenses/php85-ffi-8.5.12_2/PHP301
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PHP_PKGNAMEPREFIX}ffi>0:devel/php85-ffi
Conflicts: #
CONFLICTS_INSTALL:
  • php[0-9][0-9]-ffi
To install the port: #
cd /usr/ports/devel/php85-ffi/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/php85-ffi
  • pkg install php85-ffi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: php85-ffi
Flavors: there is no flavor information for this port. #
distinfo: #
TIMESTAMP = 1792589578 SHA256 (php-8.5.12.tar.xz) = 08bc2eba2a588654ade1357174aa646b761556c862dda0678345ee29ed481209 SIZE (php-8.5.12.tar.xz) = 14554312

Packages (timestamps in pop-ups are UTC): #
php85-ffi
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest8.5.118.5.12_1-8.5.0.b18.5.12
FreeBSD:14:quarterly8.5.118.5.12_1--8.5.12
FreeBSD:15:latest8.5.118.5.12_1n/a8.5.0.b1n/a
FreeBSD:15:quarterly8.5.118.5.12_1n/a-n/a
FreeBSD:16:latest8.5.118.5.12_1n/a-n/a
Master port: lang/php85 #
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/php85
  3. autoconf>0 : devel/autoconf
Runtime dependencies: #
  1. php.h : lang/php85
Library dependencies: #
  1. libffi.so : devel/libffi
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
devel_php85-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.

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/php85
CommitCreditsLog message
8.5.0.a1
02 Jul 2025 16:29:38
commit hash: c0b9892033cb566ec6a0c6d0fe5ce4b97c4c88decommit hash: c0b9892033cb566ec6a0c6d0fe5ce4b97c4c88decommit hash: c0b9892033cb566ec6a0c6d0fe5ce4b97c4c88decommit hash: c0b9892033cb566ec6a0c6d0fe5ce4b97c4c88de files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*php85*: Sunrise

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

For upgrade notes please visit:
https://github.com/php/php-src/blob/php-8.5.0alpha1/UPGRADING

Changelog: https://github.com/php/php-src/blob/php-8.5.0alpha1/NEWS

Number of commits found: 1