BSD Ports

lang/php85 8.5.12 MidnightBSD

PHP Scripting Language (8.5.X branch)

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
71a2087676
License
PHP301
Categories
lang, devel, www

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.

In the other systems

SystemPortVersion
MidnightBSDlang/php858.5.12
FreeBSDlang/php858.5.12_1
NetBSDlang/php858.5.10nb1

Install

Binary package:

mport install php85

From mports:

cd /usr/mports/lang/php85 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	php85>0:lang/php85
LIB_DEPENDS=	libphp.so:lang/php85

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
compiler:c11 cpe gnome localbase pkgconfig tar:xz
Service scripts
none
Conflicts with
php[0-9][0-9]${PKGNAMESUFFIX}

Files

Manual pages 6
  • php(1)
  • php-cgi(1)
  • php-config(1)
  • php-fpm(8)
  • phpdbg(1)
  • phpize(1)
pkg-plist 551
  • bin/php
  • bin/php-cgi
  • bin/php-config
  • bin/phpdbg
  • bin/phpize
  • sbin/php-fpm
  • etc/php.conf
  • etc/php.ini-development
  • etc/php.ini-production
  • @sample etc/php-fpm.conf.default etc/php-fpm.conf
  • @sample etc/php-fpm.d/www.conf.default etc/php-fpm.d/www.conf
  • include/php/TSRM/TSRM.h
  • include/php/TSRM/tsrm_win32.h
  • include/php/Zend/Optimizer/zend_call_graph.h
  • include/php/Zend/Optimizer/zend_cfg.h
  • include/php/Zend/Optimizer/zend_dfg.h
  • include/php/Zend/Optimizer/zend_dump.h
  • include/php/Zend/Optimizer/zend_func_info.h
  • include/php/Zend/Optimizer/zend_inference.h
  • include/php/Zend/Optimizer/zend_optimizer.h
  • include/php/Zend/Optimizer/zend_ssa.h
  • include/php/Zend/Optimizer/zend_worklist.h
  • include/php/Zend/zend.h
  • include/php/Zend/zend_API.h
  • include/php/Zend/zend_alloc.h
  • include/php/Zend/zend_alloc_sizes.h
  • include/php/Zend/zend_arena.h
  • include/php/Zend/zend_ast.h
  • include/php/Zend/zend_atomic.h
  • include/php/Zend/zend_attributes.h
  • include/php/Zend/zend_attributes_arginfo.h
  • include/php/Zend/zend_bitset.h
  • include/php/Zend/zend_build.h
  • include/php/Zend/zend_builtin_functions.h
  • include/php/Zend/zend_builtin_functions_arginfo.h
  • include/php/Zend/zend_call_stack.h
  • include/php/Zend/zend_closures.h
  • include/php/Zend/zend_closures_arginfo.h
  • include/php/Zend/zend_compile.h
  • include/php/Zend/zend_config.h
  • include/php/Zend/zend_config.w32.h
  • include/php/Zend/zend_constants.h
  • include/php/Zend/zend_constants_arginfo.h
  • include/php/Zend/zend_cpuinfo.h
  • include/php/Zend/zend_dtrace.h
  • include/php/Zend/zend_enum.h
  • include/php/Zend/zend_enum_arginfo.h
  • include/php/Zend/zend_errors.h
  • include/php/Zend/zend_exceptions.h
  • include/php/Zend/zend_exceptions_arginfo.h
  • include/php/Zend/zend_execute.h
  • include/php/Zend/zend_extensions.h
  • include/php/Zend/zend_fibers.h
  • include/php/Zend/zend_fibers_arginfo.h
  • include/php/Zend/zend_float.h
  • include/php/Zend/zend_frameless_function.h
  • include/php/Zend/zend_gc.h
  • include/php/Zend/zend_gdb.h
  • include/php/Zend/zend_generators.h
  • include/php/Zend/zend_generators_arginfo.h
  • include/php/Zend/zend_globals.h
  • include/php/Zend/zend_globals_macros.h
  • include/php/Zend/zend_hash.h
  • include/php/Zend/zend_highlight.h
  • include/php/Zend/zend_hrtime.h
  • include/php/Zend/zend_inheritance.h
  • include/php/Zend/zend_ini.h
  • include/php/Zend/zend_ini_parser.h
  • include/php/Zend/zend_ini_scanner.h
  • include/php/Zend/zend_ini_scanner_defs.h
  • include/php/Zend/zend_interfaces.h
  • include/php/Zend/zend_interfaces_arginfo.h
  • include/php/Zend/zend_iterators.h
  • include/php/Zend/zend_language_parser.h
  • include/php/Zend/zend_language_scanner.h
  • include/php/Zend/zend_language_scanner_defs.h
  • include/php/Zend/zend_lazy_objects.h
  • include/php/Zend/zend_list.h
  • include/php/Zend/zend_llist.h
  • include/php/Zend/zend_long.h
  • include/php/Zend/zend_map_ptr.h
  • include/php/Zend/zend_max_execution_timer.h
  • include/php/Zend/zend_mmap.h
  • include/php/Zend/zend_modules.h
  • include/php/Zend/zend_multibyte.h
  • include/php/Zend/zend_multiply.h
  • include/php/Zend/zend_object_handlers.h
  • include/php/Zend/zend_objects.h
  • include/php/Zend/zend_objects_API.h
  • include/php/Zend/zend_observer.h
  • include/php/Zend/zend_operators.h
  • include/php/Zend/zend_portability.h
  • include/php/Zend/zend_property_hooks.h
  • include/php/Zend/zend_ptr_stack.h
  • include/php/Zend/zend_range_check.h
  • include/php/Zend/zend_signal.h
  • include/php/Zend/zend_simd.h
  • include/php/Zend/zend_smart_str.h
  • include/php/Zend/zend_smart_str_public.h
  • include/php/Zend/zend_smart_string.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
php-8.5.12.tar.xz1.4554312e+0708bc2eba2a588654ade1357174aa646b761556c862dda0678345ee29ed481209
Master sites 1
  • PHP/distributions

Commit history 8

DateCommitCreditsLog message
71a2087676 Lucas Holt lang/php85: update to 8.5.12 [security] (#1857)
Update `lang/php85` from 8.5.11 to 8.5.12, a security release. Upstream fixes GHSA-w8hw-w9fx-j79w and GHSA-6wmf-4rv5-p3rp (CVE-2026-109618, CVE-2026-109619), "Avoid state corruption via bailout" in Zend core. PHP rates both critical (CVSS v4.0 9.2). They allow remote code execution, and details leaked ahead of the coordinated release. - The distinfo SHA256 (`08bc2eba2a588654ade1357174aa646b761556c862dda0678345ee29ed481209`) matches the php.net releases listing. - Built locally (amd64): `bmake patch build fake package` -> php85-8.5.12.mport. The staged `php -n -v` reports 8.5.12. - portlint: the only errors are pre-existing OPTIONS-ordering ones on lines this change does not touch. - Built and tested on 4.0.9 (stable/4.0). Not tested: i386, master (4.1), stable/3.2. …
557f77ea9d Lucas Holt lang/php85: update to 8.5.11 (#1847)
3124a17b77 Lucas Holt lang/php85: update to 8.5.10 (#1345)
78abd286e7 Lucas Holt lang/php85: stop running the upstream test suite (#1214)
Same defect as #1213, in `lang/php85`. ## Cause The port defined its own test target: ```makefile test: build @(cd ${WRKSRC} && ${MAKE} test) ``` This runs PHP's full upstream suite, which deadlocks in `ext/standard/tests/streams` (proc_open/pty) — the hang that took a magus worker out for seven days on run 646 via `lang/php84`. It also cannot be turned off: defining `target(test)` suppresses the guard in `Mk/bsd.mport.mk:4976` that emits the `NO_TEST`/`TESTING_UNSAFE` handling, which is also what magus reads to decide whether to skip the phase. ## Fix Drop the override and set `NO_TEST` for the main port, leaving the php85 extension subports' `TEST_TARGET=test` alone. `www/mod_php85` picks up `NO_TEST` too, since it uses `PKGNAMEPREFIX` …
a05b377b53 Lucas Holt *: bump PORTREVISION for the textproc/libxml2 2.15 shared library change (#848)
`textproc/libxml2` 2.15 changed SONAME from `libxml2.so.2` to `libxml2.so.16` **and** removed ELF symbol versioning entirely — the new library defines no `LIBXML2_*` versions at all. Consumers built against the old library were never rebuilt, so they still record a dependency on `libxml2.so.2` plus version requirements nothing can satisfy, and fail at load time: ``` ld-elf.so.1: /usr/local/lib/libxml2.so.2: version LIBXML2_2.4.30 required by /usr/local/lib/libevdocument3.so.4 not defined ``` ### Scope `Tools/scripts/bump_revision.pl -f -l textproc/libxml2` — **436 Makefiles**: 323 revisions incremented, 113 gained a `PORTREVISION` line. The diff touches nothing but `PORTREVISION` lines (verified: `git diff -U0` shows no other changed line), and spot-checked ports still …

The latest 5 of 8 in the history this site was built from.