PHP Version ERROR and Additional Required Packages ERROR from setup-sca Utility
This document (000020687) is provided subject to the disclaimer at the end of this document.
Environment
Situation
PHP Version ERROR
...
Additional Required Packages ERROR
Missing required packages: apache2-mod__php_ _php_-zlib _php_-zip _php_-mysql _php_-mbstring _php_-bz2
...
Correct the errors
Repeat: setup-sca
It is verified that all of the following packages and their dependencies are installed.
# zypper in php8 apache2-mod_php8 php8-zlib php8-zip php8-mysql php8-mbstring php8-bz2
Checking the version of sca-appliance-broker shows version 1.3.1-1.1 is installed.
#rpm -q sca-appliance-broker sca-appliance-broker-1.3.1-1.1.noarch
Resolution
Alternatively, the setup-sca script can be edited to accept php8 as a workaround.
Edit the file /usr/sbin/setup-sca and modify this section:
getPHPVersion() { printf "$FMT2" "PHP Version" FOUND_VERSION=0 CHECK_VERSIONS="php7 php5"To this:
getPHPVersion() { printf "$FMT2" "PHP Version" FOUND_VERSION=0 CHECK_VERSIONS="php8 php7 php5"
Updating or re-installing the sca-appliance-broker package will discard the changes made in the workaround.
Cause
Status
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020687
- Creation Date: 29-Jun-2022
- Modified Date:30-Jun-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com