blob: 10e2dbffde9ed28c1617f062481e813a0196cb69 [file] [log] [blame]
---
# php defaults/main.yml
#
# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
# SPDX-License-Identifier: Apache-2.0
# PHP related settings
php_version: "7.4"
# FPM Config
php_fpm_service: "php7.4-fpm"
php_fpm_config:
pm.max_children: 15
pm.start_servers: 5
pm.min_spare_servers: 5
pm.max_spare_servers: 10
pm.max_requests: 500
php_ini_config:
upload_max_filesize: "32M"
post_max_size: "32M"
# Packages required for Wordpress and ONF Website
php_packages:
- "php7.4-curl"
- "php7.4-fpm"
- "php7.4-gd"
- "php7.4-gmagick"
- "php7.4-mbstring"
- "php7.4-mysql"
- "php7.4-xml"
- "php7.4-zip"