BSD Ports

lang/php80-legacy 8.0.30_1 FreeBSD

PHP Scripting Language

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
2462d5e050
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.

* THIS IS A LIMITED PORT. DO NOT USE IT UNLESS YOU KNOW WHY IT EXISTS. *

PHP 8.0 has been end of life since 2023-11-26 and receives no upstream security fixes. This port is kept in the tree only for a single deployment that still requires PHP 8.0. It is IGNOREd by default and is not built on the official package builders. It is only built when the builder operator explicitly sets WITH_PHP80_ALLOW_TECHNICAL_DEBTS=yes in make.conf.

Differences from the other lang/phpXX ports:

  • PHP is built statically with only the extensions needed by that deployment. There are no separate php80-<extension> packages, and this port does not use the USE_PHP framework or php.mk.
  • Extensions cannot be added at runtime through extension= lines. Adding an extension requires changing the port and rebuilding it.
  • It may not build against current versions of its dependencies without local patches (for example, recent libxml2 releases).
  • Security fixes for libraries PHP links against are only picked up when this port is rebuilt.
  • No support is offered. Do not report problems with this port to the PHP maintainers, and do not make other ports depend on it. For anything else, use a supported PHP version.

Install

Binary package:

pkg install php80

From the ports tree:

cd /usr/ports/lang/php80-legacy/ && make install clean

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

RUN_DEPENDS=	php80>0:lang/php80-legacy

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-----
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest--n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest--n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Library 8

The full lists below include those, and their dependencies in turn.

Build dependencies 41
Run dependencies 29

Configuration

Options name: lang_php80

OptionDefaultDescription
DEBUGoffBuild with debugging support
DTRACEoffBuild with DTrace probes
PHPDBGoffInteractive PHP debugger
USES
autoreconf:build compiler:c11 cpe gettext gnome jpeg localbase pkgconfig ssl tar:xz
Service scripts
php-fpm
Conflicts with
php[0-9][0-9]${PKGNAMESUFFIX}

Files

Manual pages 5
  • php(1)
  • php-config(1)
  • php-fpm(8)
  • phpdbg(1)
  • phpize(1)
pkg-plist 312
  • bin/php
  • bin/php-config
  • bin/phpdbg
  • bin/phpize
  • sbin/php-fpm
  • 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/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_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_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_cpuinfo.h
  • include/php/Zend/zend_dtrace.h
  • include/php/Zend/zend_dtrace_gen.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_float.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_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_istdiostream.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_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_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_ptr_stack.h
  • include/php/Zend/zend_range_check.h
  • include/php/Zend/zend_signal.h
  • include/php/Zend/zend_smart_str.h
  • include/php/Zend/zend_smart_str_public.h
  • include/php/Zend/zend_smart_string.h
  • include/php/Zend/zend_smart_string_public.h
  • include/php/Zend/zend_sort.h
  • include/php/Zend/zend_stack.h
  • include/php/Zend/zend_stream.h
  • include/php/Zend/zend_string.h
  • include/php/Zend/zend_strtod.h
  • include/php/Zend/zend_strtod_int.h
  • include/php/Zend/zend_system_id.h
  • include/php/Zend/zend_ts_hash.h
  • include/php/Zend/zend_type_info.h
  • include/php/Zend/zend_types.h
  • include/php/Zend/zend_variables.h
  • include/php/Zend/zend_virtual_cwd.h
  • include/php/Zend/zend_vm.h
  • include/php/Zend/zend_vm_def.h
  • include/php/Zend/zend_vm_execute.h
  • include/php/Zend/zend_vm_handlers.h
  • include/php/Zend/zend_vm_opcodes.h
  • include/php/Zend/zend_vm_trace_handlers.h
  • include/php/Zend/zend_vm_trace_lines.h
  • include/php/Zend/zend_vm_trace_map.h
  • include/php/Zend/zend_weakrefs.h
  • include/php/Zend/zend_weakrefs_arginfo.h

The first 100 are listed.

distinfo 1
FileSizeSHA256
php/php-8.0.30.tar.xz1.0821076e+07216ab305737a5d392107112d618a755dc5df42058226f1670e9db90e77d777d9
Master sites 1
  • PHP

Commit history 1

DateCommitCreditsLog message
2462d5e050 Muhammad Moinur Rahman lang/php80-legacy: New port
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. * THIS IS A LIMITED PORT. DO NOT USE IT UNLESS YOU KNOW WHY IT EXISTS. * PHP 8.0 has been end of life since 2023-11-26 and receives no upstream security fixes. This port is kept in the tree only for a single deployment that still requires PHP 8.0. It is IGNOREd by default and is not built on the official package builders. It is only built when the …