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-dom The dom shared extension for php
8.5.12_2 textproc Σ=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.0.r2Version 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-10-17 10:48:45
Commit Hash: 8a7744a
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-dom-8.5.12_2/catalog.mk
  2. /usr/local/share/licenses/php85-dom-8.5.12_2/LICENSE
  3. /usr/local/share/licenses/php85-dom-8.5.12_2/PHP301
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PHP_PKGNAMEPREFIX}dom>0:textproc/php85-dom
Conflicts: #
CONFLICTS_INSTALL:
  • php[0-9][0-9]-dom
To install the port: #
cd /usr/ports/textproc/php85-dom/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/php85-dom
  • pkg install php85-dom
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: php85-dom
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

No package information for this port in our database #
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
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. libxml2.so : textproc/libxml2
This port is required by: #
for Build #
  1. net-mgmt/icingaweb2
  2. textproc/php85-xmlreader
  3. textproc/php85-xsl
for Run #
  1. devel/phorgeit-arcanist
  2. devel/phorgeit-arcanist-lib
  3. devel/phpunit10
  4. devel/phpunit12
  5. devel/phpunit13
  6. devel/phpunit8
  7. devel/phpunit9
Expand this list (33 items / 26 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. lang/php85-extensions
  3. mail/roundcube
  4. mail/roundcube-carddav
  5. mail/snappymail
  6. net-mgmt/icingaweb2
  7. net-mgmt/librenms
  8. textproc/php85-xmlreader
  9. textproc/php85-xsl
  10. www/baikal
  11. www/drupal11
  12. www/elgg
  13. www/ilias
  14. www/limesurvey
  15. www/lycheeorg
  16. www/mediawiki143
  17. www/mediawiki145
  18. www/mediawiki146
  19. www/moodle45
  20. www/moodle51
  21. www/moodle52
  22. www/moodle53
  23. www/nextcloud
  24. www/php-laminas-feed
  25. www/phpbb3
  26. www/tt-rss
  27. 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: #
textproc_php85-dom
USES: #
compiler:c11 cpe gnome localbase pkgconfig tar:xz php:ext,noflavors pkgconfig
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: 3 #

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.r2
17 Oct 2025 10:48:45
commit hash: 8a7744ae920a0e1b2fa44856e127b8237154d830commit hash: 8a7744ae920a0e1b2fa44856e127b8237154d830commit hash: 8a7744ae920a0e1b2fa44856e127b8237154d830commit hash: 8a7744ae920a0e1b2fa44856e127b8237154d830 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
textproc/php85-dom: Fix build
8.5.0.r2
10 Oct 2025 18:41:30
commit hash: 839e51e564c67c15ac757f02b8eb85d4e64072d7commit hash: 839e51e564c67c15ac757f02b8eb85d4e64072d7commit hash: 839e51e564c67c15ac757f02b8eb85d4e64072d7commit hash: 839e51e564c67c15ac757f02b8eb85d4e64072d7 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
lang/php85: Update version 8.5.0RC1=>8.5.0RC2

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

Changelog: https://github.com/php/php-src/blob/php-8.5.0RC2/NEWS
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: 3