My PHP version is : 7.4
My MySQL/MariaDB version is (delete as applicable): mysql Ver 15.1 Distrib 10.3.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
I am : Installing
installing via : Command Line
My first time using composer and it has not been as easy as I would have hoped. Firstly I installed composer but see it was composer 1 and had to find out how to upgrade to composer 2.
Then went ahead and ran the command:
composer create-project mautic/recommended-project:^4 mautic --no-interaction
These errors are showing in the installer :
I got a number of warnings and errors, pasting them below:
- Installing composer/installers (v1.12.0): Extracting archive For additional security you should declare the allow-plugins config with a list of packages names that are allowed to run code. See https://getcomposer.org/allow-plugins You have until July 2022 to add the setting. Composer will then switch the default behavior to disallow all plugins. - Installing composer/package-versions-deprecated (22.214.171.124): Extracting archive
107/223 [=============>--------------] 47% Failed to extract ip2location/ip2location-php: (9) '/usr/bin/unzip' -qq '/var/www/mautic/vendor/composer/tmp-7e864c5dda329a48d596c26859840338' -d '/var/www/mautic/vendor/composer/1194d3be' [/var/www/mautic/vendor/composer/tmp-7e864c5dda329a48d596c26859840338] End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of /var/www/mautic/vendor/composer/tmp-7e864c5dda329a48d596c26859840338 or /var/www/mautic/vendor/composer/tmp-7e864c5dda329a48d596c26859840338.zip, and cannot find /var/www/mautic/vendor/composer/tmp-7e864c5dda329a48d596c26859840338.ZIP, period. The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems) Unzip with unzip command failed, falling back to ZipArchive class Package misd/phone-number-bundle is abandoned, you should avoid using it. Use odolbeau/phone-number-bundle instead. Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead. Package symfony/inflector is abandoned, you should avoid using it. Use EnglishInflector from the String component instead. Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead. Generating autoload files [RuntimeException] Could not scan for classes inside "/var/www/mautic/vendor/ip2location/ip2location-php/IP2Location.php" which does not appear to be a file nor a folder
My problem is : What do I do now ?
Steps I have tried to fix the problem :