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.
===> The following configuration options are available for mod_php80-8.0.30:
AP2FILTER=off: Use Apache 2.x filter interface (experimental)
PHPDBG=off: Interactive PHP debugger
DEBUG=off: Build with debugging support
DTRACE=on: Build with DTrace probes
IPV6=on: IPv6 protocol support
MYSQLND=on: Build with MySQL Native Driver
LINKTHR=on: Link thread lib (for threaded extensions)
ZTS=off: Force Zend Thread Safety (ZTS) build
===> Use 'make config' to modify these settings
******************************************************************************
Make sure index.php is part of your DirectoryIndex.
You should add the following to your Apache configuration file:
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
******************************************************************************
If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled,
add WITH_MPM=event to /etc/make.conf to prevent build failures.
******************************************************************************
www/mod_php8*: Fix build
USES=apache must be called before bsd.pre.port.mk however this was
overridden using an include clause. During my previous commit on
refactoring apache.mk these include blocks were deleted which causes
failure to the build of these port as USES=apache in preport.mk is never
called. This commit changes and refactors the code.
Fixes: 40843b1 Mk/Uses/apache.mk: Refactor after removal of older versions
lang/php80: Update version 8.0.20=>8.0.22
- STRIP Binaries [1]
CLI:
- Fixed potential overflow for the builtin server via the
PHP_CLI_SERVER_WORKERS environment variable.
Core:
- Fixed bug GH-8923 (error_log on Windows can hold the file write lock).
- Fixed bug GH-8995 (WeakMap object reference offset causing TypeError).
Date:
- Fixed bug #80047 (DatePeriod doesn't warn with custom
DateTimeImmutable).
DBA:
- Fixed LMDB driver hanging when attempting to delete a non-existing
(Only the first 15 lines of the commit message are shown above )
lang/php80: Update version 8.0.18=>8.0.19
* Core:
Fixed bug #8289 (Exceptions thrown within a yielded from iterator are
not rethrown into the generator).
* Date:
Fixed bug #7979 (DatePeriod iterator advances when checking if valid).
* FFI:
Fixed bug #8433 (Assigning function pointers to structs in FFI leaks).
* FPM:
Fixed bug #76003 (FPM /status reports wrong number of active processe)
Fixed bug #77023 (FPM cannot shutdown processes).
Fixed comment in kqueue remove callback log message.
* Iconv:
Fixed bug #8218 (ob_end_clean does not reset Content-Encoding header).
(Only the first 15 lines of the commit message are shown above )
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.
PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
textproc/libxml2: bump all dependencies
This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246
Welcome PHP 8.0 RC 2 to the ports tree
There are many greater changes including:
- json is now part of core
- xmlrpc is removed
- More than 150 backward incompatible changes
Have a look at: https://github.com/php/php-src/blob/php-8.0.0RC2/UPGRADING
Reviewed by: ale, mfechner, Pascal Christen
Sponsored by: PHP Update Service
Differential Revision: https://reviews.freebsd.org/D26848