History log of /unit/auto/modules/php (Results 1 – 25 of 28)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 1.21.0-1, 1.21.0
# 1655:72319d055889 26-Oct-2020 Valentin Bartenev

Configure: using comma instead of space for passing -rpath value.

This variant will be more interoperable across various systems
and it's already used in Ruby module.

Otherwise, configure tests fai

Configure: using comma instead of space for passing -rpath value.

This variant will be more interoperable across various systems
and it's already used in Ruby module.

Otherwise, configure tests fail on NetBSD with:

gcc: Missing argument for -Wl,-rpath

show more ...


Revision tags: 1.20.0-1, 1.20.0
# 1622:773f29e26072 09-Sep-2020 Tiago Natel de Moura

PHP: fixed "rootfs" isolation dependency on system mounts.


# 1585:e941d77852d1 25-Aug-2020 Tiago Natel de Moura

Isolation: added "automount" option.

Now it's possible to disable default bind mounts of
languages by setting:

{
"isolation": {
"automount": {
"language_deps": fal

Isolation: added "automount" option.

Now it's possible to disable default bind mounts of
languages by setting:

{
"isolation": {
"automount": {
"language_deps": false
}
}
}

In this case, the user is responsible to provide a "rootfs"
containing the language libraries and required files for
the application.

show more ...


# 1583:0d343e154c46 25-Aug-2020 Tiago Natel de Moura

PHP: added bind mounts for extensions directory.


Revision tags: 1.19.0-1, 1.19.0
# 1531:5665f0ada703 28-Jul-2020 Tiago Natel de Moura

PHP: fixed version comparison in configure script.

Some PPAs for Ubuntu package PHP with versions like:
7.2.28-3+ubuntu18.04.1+deb.sury.org+1

But the script expected only "X.Y.Z".

The issue was i

PHP: fixed version comparison in configure script.

Some PPAs for Ubuntu package PHP with versions like:
7.2.28-3+ubuntu18.04.1+deb.sury.org+1

But the script expected only "X.Y.Z".

The issue was introduced in:
http://hg.nginx.org/unit/rev/2ecb15904ba5

show more ...


Revision tags: 1.18.0-1, 1.18.0
# 1482:90460ae5046a 20-May-2020 Remi Collet

PHP: building with PHP 8 (development version).


Revision tags: 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0
# 1383:b4fbf38ef975 04-Mar-2020 Valentin Bartenev

PHP: added ZTS indication to ./configure output.


# 1382:6c8b10bbb4e8 04-Mar-2020 Valentin Bartenev

PHP: rearranged feature checks in ./configure.

Now it prints version even if PHP was built without embed SAPI.


# 1376:2ecb15904ba5 03-Mar-2020 Tiago Natel de Moura

PHP: optimization to avoid surplus chdir(2) calls.

For each request, the worker calls the php_execute_script function
from libphp that changes to the script directory before doing its
work and then

PHP: optimization to avoid surplus chdir(2) calls.

For each request, the worker calls the php_execute_script function
from libphp that changes to the script directory before doing its
work and then restores the process directory before returning. The
chdir(2) calls it performs are unnecessary in Unit design. In simple
benchmarks, profiling shows that the chdir syscall code path (syscall,
FS walk, etc.) is where the CPU spends most of its time.

PHP SAPI semantics requires the script to be run from the script
directory. In Unit's PHP implementation, we have two use cases:

- script
- arbitrary path

The "script" configuration doesn't have much need for a working
directory change: it can be changed once at module initialization.
The module needs to chdir again only if the user's PHP script also
calls chdir to switch to another directory during execution.

If "script" is not used in Unit configuration, we must ensure the
script is run from its directory (thus calling chdir before exec),
but there's no need to restore the working directory later.

Our implementation disables mandatory chdir calls with the SAPI
option SAPI_OPTION_NO_CHDIR, instead calling chdir only when needed.

To detect the user's calls to chdir, a simple "unit" extension is
added that hooks the built-in chdir() PHP call.

show more ...


Revision tags: 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0, 1.13.0-1, 1.13.0, 1.12.0-1, 1.12.0
# 1217:ed8c4e263152 02-Oct-2019 Max Romanov

Fixed "make tests" build without preceding "make".

Currently almost all Unit object files depends on generated nxt_version.h.
This patch adds missing dependence and fixes running make with multiple

Fixed "make tests" build without preceding "make".

Currently almost all Unit object files depends on generated nxt_version.h.
This patch adds missing dependence and fixes running make with multiple
jobs.

This closes #318 issue on GitHub.

show more ...


Revision tags: 1.11.0-2, 1.11.0-1, 1.11.0, 1.10.0-2, 1.10.0-1, 1.10.0, 1.9.0-1, 1.9.0, 1.8.0-1, 1.8.0, 1.7.1-1, 1.7.1, 1.7-1, 1.7
# 858:b0947cda8f91 22-Nov-2018 Valentin Bartenev

PHP: workaround for bug #71041.

Since PHP 7, a zend_signal_startup() call is required if the interpreter
was built with ZEND_SIGNALS defined; such a call was added in 3fd76e4ce70a.

However, the zen

PHP: workaround for bug #71041.

Since PHP 7, a zend_signal_startup() call is required if the interpreter
was built with ZEND_SIGNALS defined; such a call was added in 3fd76e4ce70a.

However, the zend_signal_startup() export is missing from the PHP library;
as the result, dlopen() fails with the 'Undefined symbol "zend_signal_startup"'
error while loading the PHP module.

Meanwhile, if PHP is built without ZTS, the zend_signal_startup() call can
be omitted; otherwise, the missing call causes segmentation fault.

The PHP fix already was committed to upstream, but we still have to deal
with numerous unpatched versions remaining at large.

See the related PHP bug: https://bugs.php.net/bug.php?id=71041

show more ...


# 857:3fd76e4ce70a 21-Nov-2018 Valentin Bartenev

PHP: fixed compatibility with ZTS.

This closes #184 issue on GitHub.


Revision tags: 1.6-1, 1.6, 1.5-1, 1.5, 1.4-2, 1.4
# 743:e0f0cd7d244a 06-Aug-2018 Max Romanov

Unit application library.

Library now used in all language modules.
Old 'nxt_app_*' code removed.

See src/test/nxt_unit_app_test.c for usage sample.


Revision tags: 1.3
# 706:9b7baae18541 28-Jun-2018 Igor Sysoev

Added check of "make install" ability.

This closes #136 issue on GitHub.


Revision tags: 1.2
# 682:6ecc5c60b481 30-May-2018 Igor Sysoev

PHP: fixed building on MacOSX with --ld-opt= option.


# 681:52bed667815b 30-May-2018 Max Romanov

PHP: using generated dependencies in makefile.


Revision tags: 1.1, 1.0
# 612:217e48a3b091 04-Apr-2018 Alexander Borisov

Changed version processing for modules.


Revision tags: 0.7, 0.6, 0.5, 0.4
# 468:bd697a3f8562 15-Jan-2018 Igor Sysoev

PHP: "--lib-static" option uses "--lib-path" option.


# 466:8e31d63208f2 12-Jan-2018 Igor Sysoev

PHP: added "--lib-static" configure option.

The libraries returned by "php-config --libs" are required to link with
static libphp.a. Dynamic libphp.so contains the required libraries names.


Revision tags: 0.3
# 396:3ed1efa34ac2 01-Dec-2017 Max Romanov

Using compiler capability to generate dependencies.

This closes #58 issue on GitHub.


# 395:4b85dc010702 29-Nov-2017 Max Romanov

Using --ld-opt when linking modules.


Revision tags: 0.2, 0.1
# 277:6baa1731cc6f 05-Sep-2017 Igor Sysoev

Style fixes.


# 265:864835cbba67 31-Aug-2017 Max Romanov

Introducing install & uninstall Makefile targets.


# 260:2a6ee82d77c1 30-Aug-2017 Igor Sysoev

Changed modules names format.


# 259:9cf0e151e752 30-Aug-2017 Igor Sysoev

nginext has been renamed to unit.


12