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

SUSE Linux Enterprise Server 15 SP4

Situation

When running the setup-sca utility on SUSE Linux Enterprise Server 15 SP4, errors regarding PHP and missing packages are reported:
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

To request a package containing a temporary fix, open a case with SUSE Customer Support referencing this document.

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

The setup-sca utility from the sca-appliance-broker-1.3.1-1.1.noarch package is incompatible with the currently available PHP version on SLES 15 SP4.

Status

Reported to Engineering

Additional Information

Many of the packages that need to be installed before running setup-sca are available in the Web and Scripting Module on SUSE Linux Enterprise Server 15 SP4. Steps for adding this module can be found in the Modules and Extensions Quick Start guide for SUSE Linux Enterprise Server 15 SP4.

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center