Port details |
- mod_php84 PHP Scripting Language (8.4.X branch)
- 8.4.2 www =3 8.4.0.a1Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2024-07-28 13:20:58
- Last Update: 2024-07-28 13:15:17
- Commit Hash: 42db2c3
- People watching this port, also watch:: p5-Text-Unidecode, xxd, autoconf, indexinfo, php84
- Also Listed In: devel
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- mod_php84>0:www/mod_php84
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/www/mod_php84/ && make install clean
- To add the package, run one of these commands:
- pkg install www/mod_php84
- pkg install mod_php84
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: mod_php84
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1734729078
SHA256 (php-8.4.2.tar.xz) = 92636453210f7f2174d6ee6df17a5811368f556a6c2c2cbcf019321e36456e01
SIZE (php-8.4.2.tar.xz) = 13559320
Packages (timestamps in pop-ups are UTC):
- Master port: lang/php84
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- re2c>0 : devel/re2c
- pkgconf>=1.3.0_1 : devel/pkgconf
- apxs : www/apache24
- autoconf>=2.72 : devel/autoconf
- automake>=1.17 : devel/automake
- Runtime dependencies:
-
- apxs : www/apache24
- Library dependencies:
-
- libargon2.so : security/libargon2
- libpcre2-8.so : devel/pcre2
- libxml2.so : textproc/libxml2
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for mod_php84-8.4.2:
AP2FILTER=off: Use Apache 2.x filter interface (experimental)
DEBUG=off: Build with debugging support
DTRACE=on: Build with DTrace probes
IPV6=on: IPv6 protocol support
LINKTHR=on: Link thread lib (for threaded extensions)
MYSQLND=on: Build with MySQL Native Driver
NOASLR=off: Disable ASLR support
PCRE=on: Use system pcre instead of bundled one
PHPDBG=off: Interactive PHP debugger
ZTS=off: Force Zend Thread Safety (ZTS) build
===> Use 'make config' to modify these settings
- Options name:
- www_mod_php84
- USES:
- compiler:c11 cpe gnome localbase pkgconfig tar:xz autoreconf:build ssl apache
- pkg-message:
- ******************************************************************************
Consider switching to php-fpm and mod_fast_cgi as per Apache httpd project
recommendation. See https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM
******************************************************************************
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.
******************************************************************************
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>
******************************************************************************
- Master Sites:
|