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

G. Wagner, Wagner-IT info at wagner-it.de
Mon Mar 13 06:39:23 PDT 2023


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 <giovanni.manghi at naturalgis.pt> 
Gesendet: Montag, 13. März 2023 14:24
An: G. Wagner, Wagner-IT <info at wagner-it.de>
Cc: 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> 

--

 

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


More information about the Lizmap mailing list