Installation in OpenSUSE
The prerequisite for these instructions is a current OpenSUSE installation. LIMBAS requires PHP version 8.2 or higher.
Install packages
In addition to the standard installation, the following packages must be installed for LIMBAS:
$ zypper in apache2 apache2-mod_php8 php8 php8-gd php8-iconv php8-imap php8-ldap php8-ctype php8-mbstring php8-curl php8-pdo php8-pgsql php8-soap php8-zip php8-zlib postgresql postgresql-server ImageMagick ghostscript wget zip unzip exiftool poppler-tools
PHP configuration
The PHP configuration is saved in the file /etc/php8/apache2/php.ini. The following general settings should be made here:
- short_open_tag = On
- error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
- max_input_vars = 10000
Apache HTTP server setup
To ensure that the .htaccess files used in the LIMBAS directories are interpreted by the Apache server, the following entry must be added to /etc/apache2/httpd.conf:
<Directory "{DocumentRoot}/openlimbas/dependent"> AllowOverride all </Directory>
Start the apache server:
$ systemctl start apache2
For problems with newer Apache versions (from 2.4), activating the access_compat module can help solve the problem.
Install LIMBAS
See LIMBAS installation.
To enable individual settings to be saved in LIMBAS, LIMBAS must have write access to ./openlimbas/dependent and all subdirectories. To enable this, the owner of this directory and its subdirectories must be changed to the Apache user.
$ chown -R wwwrun:www openlimbas/dependent