Add PHP module dirs

This commit is contained in:
cytopia
2022-11-29 04:44:19 +01:00
parent 40c6d485cc
commit 52aa0d4d42
310 changed files with 5087 additions and 0 deletions

View 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]

View 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

View File

@@ -0,0 +1,2 @@
---