[Lizmap] Lizmap 3.6.2 - install on Ubuntu 22.04 with PHP 8.1

G. Wagner, Wagner-IT info at wagner-it.de
Wed Mar 29 22:45:30 PDT 2023


Hi,

nor a feedback to solve the problem:
After additional installation of "php8.1-dom" the installation worked flawlessly and Lizmap runs great as usual.

In the updated documentation for Lizmap 3.6 I noticed that for the installation under Debian/Ubuntu only the WebServer nginx is described. And no longer Apache.
Is there a reason for this?  Is nginx recommended rather than Apache?
For me it still runs fine with Apache.

Regards,

 

WAGNER-IT

Ingenieurbüro für Geoinformatik

Günter Wagner
Carl-Orff-Weg 7
79312 Emmendingen
Tel.:  07641/9621668
Fax:  07641/915599
www.wagner-it.de <http://www.wagner-it.de/> 

 

 

Von: Lizmap <lizmap-bounces at lists.osgeo.org> Im Auftrag von Nicolas Boisteault
Gesendet: Montag, 13. März 2023 15:40
An: lizmap at lists.osgeo.org
Betreff: Re: [Lizmap] Lizmap 3.6.2 - install on Ubuntu 22.04 with PHP 8.1

 

Hi,

If you are in the hurry you should use : https://github.com/3liz/lizmap-docker-compose

Le 13/03/2023 à 14:39, G. Wagner, Wagner-IT a écrit :

Hi, 

 

Thanks for the feedback.

 

Yes - I know the need for the server plugins (have some Lizmap installations with 3.6.1 running Ubuntu 20.04 with php 7.4)

 

Maybe I made another mistake in the hurry. Wanted to quickly install a test server for the FOSSGIS conference.

 

When starting the installers.php the following error message appears:

 

PHP Fatal error:  Uncaught Error: Class "DOMDocument" not found in /var/www/lm_fossgis23/lizmap/vendor/jelix/jelix/lib/jelix/core/UrlMapping/XmlMapModifier.php:45

Stack trace:

#0 /var/www/lm_fossgis23/lizmap/vendor/jelix/jelix/lib/jelix/installer/Installer/GlobalSetup.php(202): Jelix\Routing\UrlMapping\XmlMapModifier->__constr               uct()

#1 /var/www/lm_fossgis23/lizmap/vendor/jelix/jelix/lib/jelix/installer/Installer/Installer.php(110): Jelix\Installer\GlobalSetup->__construct()

#2 /var/www/lm_fossgis23/lizmap/vendor/jelix/jelix/lib/jelix/Scripts/InstallerCommand.php(46): Jelix\Installer\Installer->__construct()

#3 /var/www/lm_fossgis23/lizmap/vendor/symfony/console/Command/Command.php(298): Jelix\Scripts\InstallerCommand->execute()

#4 /var/www/lm_fossgis23/lizmap/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run()

#5 /var/www/lm_fossgis23/lizmap/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()

#6 /var/www/lm_fossgis23/lizmap/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()

#7 /var/www/lm_fossgis23/lizmap/vendor/jelix/jelix/lib/jelix/Scripts/Installer.php(30): Symfony\Component\Console\Application->run()

#8 /var/www/lm_fossgis23/lizmap/install/installer.php(2): Jelix\Scripts\Installer::launch()

#9 {main}

  thrown in /var/www/lm_fossgis23/lizmap/vendor/jelix/jelix/lib/jelix/core/UrlMapping/XmlMapModifier.php on line 45

 

I thought this is because of the new php version, because e.g. a php8.1-json can not be installed.

Regards,

 

WAGNER-IT

Ingenieurbüro für Geoinformatik

Günter Wagner
Carl-Orff-Weg 7
79312 Emmendingen
Tel.:  07641/9621668
Fax:  07641/915599
www.wagner-it.de <http://www.wagner-it.de/> 

 

Von: Giovanni Manghi  <mailto:giovanni.manghi at naturalgis.pt> <giovanni.manghi at naturalgis.pt> 
Gesendet: Montag, 13. März 2023 14:24
An: G. Wagner, Wagner-IT  <mailto:info at wagner-it.de> <info at wagner-it.de>
Cc: lizmap at lists.osgeo.org <mailto:lizmap at lists.osgeo.org> 
Betreff: Re: [Lizmap] Lizmap 3.6.2 - install on Ubuntu 22.04 with PHP 8.1

 

Hi,

 

 

What is there to consider compared to the installation under ubuntu 20.04 with php7.4

 

Nothing specific to PHP in my experience on Ubuntu 20.04 and 22.04.

Note that with LMWC 3.6 now is mandatory to have this installed on server: https://github.com/3liz/qgis-lizmap-server-plugin <https://click.pstmrk.it/2s/github.com%2F3liz%2Fqgis-lizmap-server-plugin/8USNdTkN/InJh/L7Q1u8TDrp> 

 

cheers!

 


-- 

Giovanni Manghi

https://naturalgis.pt/ <https://click.pstmrk.it/2/naturalgis.pt%2F/8kSNdTkN/InJh/yx4D1IFysi> 
giovanni.manghi at naturalgis.pt <mailto:giovanni.manghi at naturalgis.pt> 
* QGIS/PostGIS Training
* QGIS Support and Consulting

  <https://www.naturalgis.pt/images/naturalgis_small_signature.png> 

--

 

 

_______________________________________________
Lizmap mailing list
Lizmap at lists.osgeo.org <mailto:Lizmap at lists.osgeo.org> 
https://lists.osgeo.org/mailman/listinfo/lizmap

-- 

Nicolas Boisteault 
Développeur / Géomaticien 
 <https://www.3liz.com> www.3liz.com 

Tel. 06 19 36 78 32 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20230330/ee85c388/attachment.htm>


More information about the Lizmap mailing list