BSD Ports

www/mod_php83 8.3.36 FreeBSD

PHP Scripting Language (8.3.X branch)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
PHP301
Categories
www, devel
Package size
1644.3 KiB, 5485.4 KiB installed

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
FreeBSDwww/mod_php838.3.36
DragonFlywww/mod_php838.3.21
MidnightBSDwww/mod_php83

Install

Binary package:

pkg install mod_php83

From the ports tree:

cd /usr/ports/www/mod_php83/ && make install clean

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

RUN_DEPENDS=	mod_php83>0:www/mod_php83

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:latest8.3.358.3.35-8.3.248.3.35
FreeBSD:14:quarterly8.3.358.3.35n/a8.3.238.3.35
FreeBSD:15:latest8.3.358.3.35n/a8.3.248.3.25
FreeBSD:15:quarterly8.3.358.3.35n/an/an/a
FreeBSD:16:latest8.3.338.3.35n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Build dependencies 27
Run dependencies 21

No port depends on this one.

Configuration

Options name: www_mod_php83

OptionDefaultDescription
AP2FILTERoffUse Apache 2.x filter interface (experimental)
Service scripts
none
Conflicts with
mod_php[0-9][0-9]

Message after installing

******************************************************************************

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>

******************************************************************************

Files

No file lists for this port.

Commit history 0

No commits in the history this site was built from.