BSD Ports

www/mod_php86 8.6.0.r3_1 FreeBSD

PHP Scripting Language (8.6.X branch)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
63b6120db0
License
BSD3CLAUSE
Categories
www, devel
Package size
2890.6 KiB, 11817.3 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_php868.6.0.r3_1
MidnightBSDwww/mod_php86

Install

Binary package:

pkg install mod_php86

From the ports tree:

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

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

RUN_DEPENDS=	mod_php86>0:www/mod_php86

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.6.0.r38.6.0.r3--8.6.0.r3
FreeBSD:14:quarterly8.6.0.r38.6.0.r3n/a-8.6.0.r3
FreeBSD:15:latest8.6.0.r38.6.0.r3n/a--
FreeBSD:15:quarterly8.6.0.r38.6.0.r3n/an/an/a
FreeBSD:16:latest8.6.0.r28.6.0.r3n/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 29
Run dependencies 21

No port depends on this one.

Configuration

Options name: www_mod_php86

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 1

DateCommitCreditsLog message
63b6120db0 Muhammad Moinur Rahman */*php86*: Sunrise
Please DO NOT use this version in production, it is an early test version. For upgrade notes please visit: https://github.com/php/php-src/blob/php-8.6.0alpha1/UPGRADING Changelog: https://github.com/php/php-src/blob/php-8.6.0alpha1/NEWS