30 lines
789 B
YAML
30 lines
789 B
YAML
# Copyright Broadcom, Inc. All Rights Reserved.
|
|
# SPDX-License-Identifier: APACHE-2.0
|
|
|
|
########################
|
|
# Test coverage for apache-libphp package
|
|
# Needed vars:
|
|
# - None
|
|
########################
|
|
command:
|
|
# Check explicitly enabled and disabled modules
|
|
check-apache-libphp-loaded-modules:
|
|
exec: apachectl -M
|
|
exit-status: 0
|
|
stdout:
|
|
- "php_module"
|
|
- "mpm_prefork_module"
|
|
- "!mpm_event_module"
|
|
file:
|
|
/opt/bitnami/apache/conf/httpd.conf:
|
|
exists: true
|
|
filetype: file
|
|
contents:
|
|
- "Include \"/opt/bitnami/apache/conf/bitnami/php.conf\""
|
|
/opt/bitnami/apache/conf/bitnami/php.conf:
|
|
exists: true
|
|
filetype: file
|
|
contents:
|
|
- "AddType application/x-httpd-php .php"
|
|
- "DirectoryIndex index.html index.htm index.php"
|