mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-15 05:21:14 +00:00
Add PHP module dirs
This commit is contained in:
52
php_modules/swoole/build.yml
Normal file
52
php_modules/swoole/build.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
---
|
||||
|
||||
# Available Jinja2 variables:
|
||||
# ---------------------------
|
||||
# * {{ php_all_versions }}: Array of all PHP versions
|
||||
|
||||
|
||||
all:
|
||||
type: pecl
|
||||
# Note: -D is only supported from PHP 7.2+
|
||||
command: pecl install -D 'enable-sockets="no" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-swoole-json="no" enable-swoole-curl="yes" enable-cares="yes" with-postgres="yes"' swoole
|
||||
build_dep: [libc-ares-dev, libnghttp2-dev, libssl-dev, libcurl4-openssl-dev]
|
||||
run_dep: [libc-ares2, libnghttp2-14]
|
||||
|
||||
7.4:
|
||||
type: pecl
|
||||
version: 4.8.12
|
||||
|
||||
7.3:
|
||||
type: pecl
|
||||
version: 4.8.12
|
||||
|
||||
7.2:
|
||||
type: pecl
|
||||
version: 4.8.12
|
||||
|
||||
7.1:
|
||||
type: pecl
|
||||
version: 4.4.26
|
||||
|
||||
7.0:
|
||||
type: pecl
|
||||
version: 4.2.13
|
||||
|
||||
5.6:
|
||||
type: pecl
|
||||
version: 1.9.23
|
||||
|
||||
5.5:
|
||||
type: pecl
|
||||
version: 1.9.23
|
||||
run_dep: [libc-ares2, libnghttp2-5, libssl1.0.0]
|
||||
|
||||
5.4:
|
||||
type: pecl
|
||||
version: 1.9.23
|
||||
run_dep: [libc-ares2, libnghttp2-5, libssl1.0.0]
|
||||
|
||||
5.3:
|
||||
type: pecl
|
||||
version: 1.9.23
|
||||
run_dep: [libc-ares2, libnghttp2-5, libssl1.0.0]
|
||||
36
php_modules/swoole/options.yml
Normal file
36
php_modules/swoole/options.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
|
||||
# The name of the module
|
||||
name: swoole
|
||||
|
||||
# Exclude module build/installation for the following PHP versions
|
||||
exclude: [5.2, 8.2]
|
||||
|
||||
# In order for this module to built correctly against all dependencies,
|
||||
# the following modules must have been built first.
|
||||
# https://openswoole.com/docs/get-started/prerequisites#php-extensions
|
||||
depends_build:
|
||||
- bcmath
|
||||
- curl
|
||||
- gd
|
||||
- intl
|
||||
- json
|
||||
- mbstring
|
||||
- mysqlnd
|
||||
- opcache
|
||||
- sockets
|
||||
- xml
|
||||
- zip
|
||||
|
||||
# In order for this module to function correctly,
|
||||
# the following modules must be loaded before.
|
||||
depends_load: []
|
||||
|
||||
# If the following PHP modules are loaded, this module will not behave as expected.
|
||||
conflicts_load: []
|
||||
|
||||
# Enable this module by default via php.ini for PHP cli command?
|
||||
enabled_php_cli: true
|
||||
|
||||
# Enable this module by default via php.ini for PHP-FPM?
|
||||
enabled_php_fpm: true
|
||||
2
php_modules/swoole/test.yml
Normal file
2
php_modules/swoole/test.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user