Closed andremano closed 2 years ago
Hi,
Your web server is not configured correctly. This is not a Lizmap issue. Read the log files of Apache, see what it says during its startup. It seems the configuration parameters related to the PHP fcgi handler are not good.
What is the bug?
After following the installation instructions from https://docs.lizmap.com/3.5/en/install/linux.html, when I try to access lizmap
mydomain/lizmap
, I get this:I have repeated the installation procedure several times but I have no idea what can be causing this.
Steps to reproduce the issue
My installation steps:
install packages
sudo apt install xauth htop curl apache2 libapache2-mod-fcgid libapache2-mod-php7.4 php7.4-cgi php7.4-gd php7.4-sqlite php7.4-curl php7.4-xmlrpc python-simplejson software-properties-common php7.4-xml
create directories for data
download and unzip lizmap
create profiles.ini.php
cp profiles.ini.php.dist profiles.ini.php
configure support for postgres (it works because the tables are created when i run installer.php
set rights for www-data user
lizmap/install/set_rights.sh www-data www-data
Create lizmapConfig.ini.php and localconfig.ini.phpAdd demo project under the [modules] section of localconfig.ini.php (btwis never installed after running installer.php)
lizmap.installparam=demo
Run the installer
php installer.php
restart apache just in case (apache is working as I can access my home page for example)
service apache2 restart
Versions
Lizmap 3.24 Lizmap plugin 3.7.4 QGIS 3.24.1
QGIS server version, only if the section above doesn't mention the QGIS Server version
3.24
Operating system
Ubuntu 20.04
Browsers
Firefox, Chrome, Microsoft Edge
Browsers version
Version 99.0.4844.82
Relevant log output
No response