Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
php85-sodium The sodium shared extension for php
8.5.12_2 security Σ=1 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.7Version 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: 2026-06-06 12:04:55
Commit Hash: 868f89e
People watching this port, also watch: libgd, libwmf, postfix, gmake, png
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-sodium-8.5.12_2/catalog.mk
  2. /usr/local/share/licenses/php85-sodium-8.5.12_2/LICENSE
  3. /usr/local/share/licenses/php85-sodium-8.5.12_2/PHP301
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PHP_PKGNAMEPREFIX}sodium>0:security/php85-sodium
Conflicts: #
CONFLICTS_INSTALL:
  • php[0-9][0-9]-sodium
To install the port: #
cd /usr/ports/security/php85-sodium/ && make install clean
To add the package, run one of these commands:
  • pkg install security/php85-sodium
  • pkg install php85-sodium
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: php85-sodium
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-sodium
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest8.5.118.5.12_2-8.5.0.b18.5.12_2
FreeBSD:14:quarterly8.5.118.5.12_2--8.5.12_2
FreeBSD:15:latest8.5.12_28.5.12_2n/a8.5.0.b1n/a
FreeBSD:15:quarterly8.5.12_28.5.12_2n/a-n/a
FreeBSD:16:latest8.5.118.5.12_2n/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. libsodium.so : security/libsodium
This port is required by: #
for Run #
  1. mail/snappymail
  2. www/lycheeorg
  3. www/moodle45
  4. www/moodle51
  5. www/moodle52
  6. www/moodle53
  7. www/nextcloud
Expand this list (9 items / 2 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. www/tt-rss
  3. Collapse this list.

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. www/moodle50*
  2. Collapse this list of deleted ports.
* - 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: #
No options to configure
Options name: #
security_php85-sodium
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: 5 #

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.7
06 Jun 2026 12:04:55
commit hash: 868f89e31397ee87e65c28a6f321b69304954de5commit hash: 868f89e31397ee87e65c28a6f321b69304954de5commit hash: 868f89e31397ee87e65c28a6f321b69304954de5commit hash: 868f89e31397ee87e65c28a6f321b69304954de5 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/php85: Update version 8.5.6=>8.5.7

Changelog: https://www.php.net/ChangeLog-8.php#8.5.7
8.5.6_1
01 Jun 2026 17:09:18
commit hash: 42b95df84d3f6353c70dac427a1f4357f033d02acommit hash: 42b95df84d3f6353c70dac427a1f4357f033d02acommit hash: 42b95df84d3f6353c70dac427a1f4357f033d02acommit hash: 42b95df84d3f6353c70dac427a1f4357f033d02a files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
*/*: Bump PORTREVISION for libsodium consumers after version bump

Bump consumers of libsodium
8.5.5
11 Apr 2026 13:38:01
commit hash: 937147ce1af47bfa6f970f309a521d4288363ae1commit hash: 937147ce1af47bfa6f970f309a521d4288363ae1commit hash: 937147ce1af47bfa6f970f309a521d4288363ae1commit hash: 937147ce1af47bfa6f970f309a521d4288363ae1 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/php85: Update version 8.5.4=>8.5.5

- Optionize JIT. JIT for opcache has been disabled by default. Make it
  and option to conditionally depend on capstone [1]

Changelog: https://www.php.net/ChangeLog-8.php#8.5.5

PR:		294233
Reported by:	chris@chrullrich.net
8.5.1_1
07 Jan 2026 10:22:10
commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808commit hash: 8b878d88b4f7f3a0a6477f645085c808b2588808 files touched by this commit
Vsevolod Stakhov (vsevolod) search for other commits by this committer
security/libsodium: Update to 1.0.21

The API remains compatible but bumping all dependent ports as SHLIB
has changed.

Changelog: https://github.com/jedisct1/libsodium/releases/tag/1.0.21-RELEASE
Security: https://00f.net/2025/12/30/libsodium-vulnerability/
PR: 279347
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: 5