blob: 10e2dbffde9ed28c1617f062481e813a0196cb69 [file] [log] [blame]
Zack Williams15c09e72020-10-14 21:30:57 -07001---
2# php defaults/main.yml
3#
4# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
5# SPDX-License-Identifier: Apache-2.0
6
7# PHP related settings
Zack Williamscf75b762021-07-02 16:48:26 -07008
9php_version: "7.4"
10
11# FPM Config
12php_fpm_service: "php7.4-fpm"
13
14php_fpm_config:
15 pm.max_children: 15
16 pm.start_servers: 5
17 pm.min_spare_servers: 5
18 pm.max_spare_servers: 10
19 pm.max_requests: 500
20
Zack Williams2b6937a2021-07-07 13:36:22 -070021php_ini_config:
22 upload_max_filesize: "32M"
23 post_max_size: "32M"
Zack Williams15c09e72020-10-14 21:30:57 -070024
25# Packages required for Wordpress and ONF Website
26php_packages:
Zack Williams15c09e72020-10-14 21:30:57 -070027 - "php7.4-curl"
Zack Williams2b6937a2021-07-07 13:36:22 -070028 - "php7.4-fpm"
29 - "php7.4-gd"
Zack Williams15c09e72020-10-14 21:30:57 -070030 - "php7.4-gmagick"
Zack Williams2b6937a2021-07-07 13:36:22 -070031 - "php7.4-mbstring"
Zack Williams15c09e72020-10-14 21:30:57 -070032 - "php7.4-mysql"
33 - "php7.4-xml"
Zack Williams2b6937a2021-07-07 13:36:22 -070034 - "php7.4-zip"