[Question]: v3.5 : Debian 11 / PHP 7.4 support ?
See original GitHub issueI’m trying to install v3.5.3 on a fresh Debian bullseye server and the installation process seems to have failed :
root@vps80527:/var/www/lizmap-web-client-3.5.3# lizmap/install/set_rights.sh www-data www-data
root@vps80527:/var/www/lizmap-web-client-3.5.3# php lizmap/install/installer.php
PHP Warning: require(/var/www/lizmap-web-client-3.5.3/lizmap/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/lizmap-web-client-3.5.3/lizmap/application.init.php on line 12
PHP Fatal error: require(): Failed opening required '/var/www/lizmap-web-client-3.5.3/lizmap/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/lizmap-web-client-3.5.3/lizmap/application.init.php on line 12
Then in nginx I can only see error 500. Is this related to PHP 7.4 ?
Edit : looking line 12 in the application.init.php, it looks like some files are missing or changed path, the “vendor” dir does not exists :
require ($appPath.'vendor/autoload.php');
root@vps80527:/var/www/lizmap-web-client-3.5.3# find /var -name autoload.php
/var/www/lizmap-web-client-3.5.3/lib/recaptcha/src/autoload.php
Versions
Lizmap 3.5.3 PHP 7.4.28
QGIS server version, only if the section above doesn’t mention the QGIS Server version
3.22.8
Operating system
Debian 11
Browsers
Chrome
Browsers version
Chrome 103
Relevant log output
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
PHP - Debian Wiki
PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific ......
Read more >Debian 11 Bullseye and PHP7's End of Life - what happpens ...
In practice, the most likely outcome is that the PHP maintainers will try to continue providing security support on their own. You can...
Read more >Supported Versions - PHP
Supported Versions. Each release branch of PHP is fully supported for two years from its initial stable release. During this period, bugs and...
Read more >Question - PHP 7.4 EOL and Plesk Support after that?
Im working as a TYPO3 Developer since 3 years now and know what im talking about. I have already upgraded nearly 100 pages...
Read more >How To Install PHP 7.4 and Set Up a Local Development ...
This tutorial will guide you through installing PHP 7.4 on Ubuntu and ... The command line, also known as a shell or terminal,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes it was a link in an old script I was updating. Pretty sure it worked 2 years ago, but yeah I just saw the warning. Thanks for the quick reply
I can’t find any reference to
https://github.com/3liz/lizmap-web-client/archive/$LIZMAP_VERSION.zip
or similar links in the documentation.https://docs.lizmap.com/current/fr/install/linux.html#installing-sources-of-lizmap-web-client There is a warning about the ZIP file and the link was indeed :
wget https://github.com/3liz/lizmap-web-client/releases/download/$VERSION/lizmap-web-client-$VERSION.zip
Thanks for the feedback.