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-sodium The sodium shared extension for php
8.2.35_2 security Σ=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.32Version 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: 2026-07-04 18:17:32
Commit Hash: d06d7f3
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-sodium-8.2.35_2/catalog.mk
  2. /usr/local/share/licenses/php82-sodium-8.2.35_2/LICENSE
  3. /usr/local/share/licenses/php82-sodium-8.2.35_2/PHP301
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PHP_PKGNAMEPREFIX}sodium>0:security/php82-sodium
Conflicts: #
CONFLICTS_INSTALL:
  • php[0-9][0-9]-sodium
To install the port: #
cd /usr/ports/security/php82-sodium/ && make install clean
To add the package, run one of these commands:
  • pkg install security/php82-sodium
  • pkg install php82-sodium
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: php82-sodium
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-sodium
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest8.2.348.2.348.2.18.2.298.2.35
FreeBSD:14:quarterly8.2.348.2.35-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. libsodium.so : security/libsodium
This port is required by: #
for Run #

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. www/moodle42*
  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_php82-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.
Port Moves
  • port moved here from security/php81-sodium on 2025-12-31
    REASON: Has expired: Security support ended on 2025-12-31

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/php82
CommitCreditsLog message
8.2.32
04 Jul 2026 18:17:32
commit hash: d06d7f3bc0d0e258a45290deb72654fca550814acommit hash: d06d7f3bc0d0e258a45290deb72654fca550814acommit hash: d06d7f3bc0d0e258a45290deb72654fca550814acommit hash: d06d7f3bc0d0e258a45290deb72654fca550814a files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/php82: Update version 8.2.31=>8.2.32

Changelog: https://www.php.net/ChangeLog-8.php#8.2.32
8.2.31_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.2.31
13 May 2026 10:37:30
commit hash: ad6b920f57b19075d5aa9fb024387694329d722acommit hash: ad6b920f57b19075d5aa9fb024387694329d722acommit hash: ad6b920f57b19075d5aa9fb024387694329d722acommit hash: ad6b920f57b19075d5aa9fb024387694329d722a files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/php82: Update version 8.2.30=>8.2.31

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

MFH:		2026Q2
8.2.30_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.2.20
07 Jun 2024 15:16:30
commit hash: f9259dd0be5455a3506df900966d8410a43effcbcommit hash: f9259dd0be5455a3506df900966d8410a43effcbcommit hash: f9259dd0be5455a3506df900966d8410a43effcbcommit hash: f9259dd0be5455a3506df900966d8410a43effcb files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/php82: Update version 8.2.19=>8.2.20

Changelog: https://www.php.net/ChangeLog-8.php#8.2.20
8.2.19_1
20 May 2024 10:33:03
commit hash: b66e4949cb23218adc602edc35db187f966c5377commit hash: b66e4949cb23218adc602edc35db187f966c5377commit hash: b66e4949cb23218adc602edc35db187f966c5377commit hash: b66e4949cb23218adc602edc35db187f966c5377 files touched by this commit
Vsevolod Stakhov (vsevolod) search for other commits by this committer
security/libsodium: update to 1.0.19, bump dependent ports

PR:	278259
Reported by:	Andrey Korobkov <alster-vinterdalen.se>
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: 7