Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Upgrade for PHP 8.1+ #17

Open
TehPeGaSuS opened this issue Dec 25, 2023 · 0 comments
Open

Upgrade for PHP 8.1+ #17

TehPeGaSuS opened this issue Dec 25, 2023 · 0 comments

Comments

@TehPeGaSuS
Copy link

Would it be possible to upgrade this to be usable on PHP 8.1+?
I'm having issues with PHP 8.1.2.

Error:

$ composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - Root composer.json requires php ^5.6 || ^7.0 but your php version (8.1.2) does not satisfy that requirement.
  Problem 2
    - laminas/laminas-cache is locked to version 2.11.3 and an update of this package was not requested.
    - laminas/laminas-cache 2.11.3 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 3
    - laminas/laminas-cache-storage-adapter-apc is locked to version 1.0.1 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-apc 1.0.1 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 4
    - laminas/laminas-cache-storage-adapter-apcu is locked to version 1.1.0 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-apcu 1.1.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 5
    - laminas/laminas-cache-storage-adapter-blackhole is locked to version 1.2.1 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-blackhole 1.2.1 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 6
    - laminas/laminas-cache-storage-adapter-dba is locked to version 1.0.1 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-dba 1.0.1 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 7
    - laminas/laminas-cache-storage-adapter-ext-mongodb is locked to version 1.1.0 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-ext-mongodb 1.1.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 8
    - laminas/laminas-cache-storage-adapter-filesystem is locked to version 1.1.1 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-filesystem 1.1.1 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 9
    - laminas/laminas-cache-storage-adapter-memcache is locked to version 1.1.0 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-memcache 1.1.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 10
    - laminas/laminas-cache-storage-adapter-memcached is locked to version 1.1.0 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-memcached 1.1.0 requires php ^7.3 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 11
    - laminas/laminas-cache-storage-adapter-memory is locked to version 1.1.0 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-memory 1.1.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 12
    - laminas/laminas-cache-storage-adapter-mongodb is locked to version 1.0.1 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-mongodb 1.0.1 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 13
    - laminas/laminas-cache-storage-adapter-redis is locked to version 1.2.0 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-redis 1.2.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 14
    - laminas/laminas-cache-storage-adapter-session is locked to version 1.1.0 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-session 1.1.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 15
    - laminas/laminas-cache-storage-adapter-wincache is locked to version 1.0.1 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-wincache 1.0.1 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 16
    - laminas/laminas-cache-storage-adapter-xcache is locked to version 1.0.1 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-xcache 1.0.1 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 17
    - laminas/laminas-cache-storage-adapter-zend-server is locked to version 1.0.1 and an update of this package was not requested.
    - laminas/laminas-cache-storage-adapter-zend-server 1.0.1 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 18
    - laminas/laminas-component-installer is locked to version 1.1.1 and an update of this package was not requested.
    - laminas/laminas-component-installer 1.1.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.6.0] but it does not match the constraint.
  Problem 19
    - laminas/laminas-config is locked to version 3.5.0 and an update of this package was not requested.
    - laminas/laminas-config 3.5.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 20
    - laminas/laminas-dependency-plugin is locked to version 1.0.4 and an update of this package was not requested.
    - laminas/laminas-dependency-plugin 1.0.4 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.6.0] but it does not match the constraint.
  Problem 21
    - laminas/laminas-development-mode is locked to version 3.3.0 and an update of this package was not requested.
    - laminas/laminas-development-mode 3.3.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 22
    - laminas/laminas-escaper is locked to version 2.8.0 and an update of this package was not requested.
    - laminas/laminas-escaper 2.8.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 23
    - laminas/laminas-http is locked to version 2.14.3 and an update of this package was not requested.
    - laminas/laminas-http 2.14.3 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 24
    - laminas/laminas-json is locked to version 3.2.0 and an update of this package was not requested.
    - laminas/laminas-json 3.2.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 25
    - laminas/laminas-loader is locked to version 2.7.0 and an update of this package was not requested.
    - laminas/laminas-loader 2.7.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 26
    - laminas/laminas-mvc is locked to version 3.2.0 and an update of this package was not requested.
    - laminas/laminas-mvc 3.2.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 27
    - laminas/laminas-navigation is locked to version 2.11.1 and an update of this package was not requested.
    - laminas/laminas-navigation 2.11.1 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 28
    - laminas/laminas-router is locked to version 3.4.5 and an update of this package was not requested.
    - laminas/laminas-router 3.4.5 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 29
    - laminas/laminas-serializer is locked to version 2.10.1 and an update of this package was not requested.
    - laminas/laminas-serializer 2.10.1 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 30
    - laminas/laminas-servicemanager is locked to version 3.6.4 and an update of this package was not requested.
    - laminas/laminas-servicemanager 3.6.4 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 31
    - laminas/laminas-uri is locked to version 2.8.1 and an update of this package was not requested.
    - laminas/laminas-uri 2.8.1 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 32
    - laminas/laminas-validator is locked to version 2.14.5 and an update of this package was not requested.
    - laminas/laminas-validator 2.14.5 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 33
    - laminas/laminas-view is locked to version 2.12.0 and an update of this package was not requested.
    - laminas/laminas-view 2.12.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 34
    - laminas/laminas-console is locked to version 2.8.0 and an update of this package was not requested.
    - laminas/laminas-console 2.8.0 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 35
    - laminas/laminas-dom is locked to version 2.8.0 and an update of this package was not requested.
    - laminas/laminas-dom 2.8.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 36
    - laminas/laminas-test is locked to version 3.4.2 and an update of this package was not requested.
    - laminas/laminas-test 3.4.2 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 37
    - nette/bootstrap is locked to version v3.1.1 and an update of this package was not requested.
    - nette/bootstrap v3.1.1 requires php >=7.2 <8.1 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 38
    - nette/di is locked to version v3.0.8 and an update of this package was not requested.
    - nette/di v3.0.8 requires php >=7.1 <8.1 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 39
    - nette/schema is locked to version v1.2.1 and an update of this package was not requested.
    - nette/schema v1.2.1 requires php >=7.1 <8.1 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 40
    - nette/utils is locked to version v3.2.2 and an update of this package was not requested.
    - nette/utils v3.2.2 requires php >=7.2 <8.1 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 41
    - phar-io/manifest is locked to version 1.0.3 and an update of this package was not requested.
    - phar-io/manifest 1.0.3 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 42
    - phar-io/version is locked to version 2.0.1 and an update of this package was not requested.
    - phar-io/version 2.0.1 requires php ^5.6 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 43
    - phpdocumentor/reflection-docblock is locked to version 5.1.0 and an update of this package was not requested.
    - phpdocumentor/reflection-docblock 5.1.0 requires ext-filter ^7.1 -> it has the wrong version installed (8.1.2).
  Problem 44
    - phpspec/prophecy is locked to version 1.11.1 and an update of this package was not requested.
    - phpspec/prophecy 1.11.1 requires php ^7.2 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 45
    - phpstan/phpdoc-parser is locked to version 0.3.5 and an update of this package was not requested.
    - phpstan/phpdoc-parser 0.3.5 requires php ~7.1 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 46
    - phpstan/phpstan is locked to version 0.11.20 and an update of this package was not requested.
    - phpstan/phpstan 0.11.20 requires php ~7.1 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 47
    - phpunit/php-code-coverage is locked to version 6.1.4 and an update of this package was not requested.
    - phpunit/php-code-coverage 6.1.4 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 48
    - phpunit/phpunit is locked to version 7.5.20 and an update of this package was not requested.
    - phpunit/phpunit 7.5.20 requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 49
    - sebastian/global-state is locked to version 2.0.0 and an update of this package was not requested.
    - sebastian/global-state 2.0.0 requires php ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 50
    - webmozart/assert is locked to version 1.8.0 and an update of this package was not requested.
    - webmozart/assert 1.8.0 requires php ^5.3.3 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
  Problem 51
    - laminas/laminas-config 3.5.0 requires php ^7.3 || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement.
    - laminas/laminas-modulemanager 2.10.2 requires laminas/laminas-config ^3.4 -> satisfiable by laminas/laminas-config[3.5.0].
    - laminas/laminas-modulemanager is locked to version 2.10.2 and an update of this package was not requested.

To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/8.1/cli/php.ini
    - /etc/php/8.1/cli/conf.d/10-mysqlnd.ini
    - /etc/php/8.1/cli/conf.d/10-opcache.ini
    - /etc/php/8.1/cli/conf.d/10-pdo.ini
    - /etc/php/8.1/cli/conf.d/15-xml.ini
    - /etc/php/8.1/cli/conf.d/20-amqp.ini
    - /etc/php/8.1/cli/conf.d/20-apcu.ini
    - /etc/php/8.1/cli/conf.d/20-ast.ini
    - /etc/php/8.1/cli/conf.d/20-bcmath.ini
    - /etc/php/8.1/cli/conf.d/20-bz2.ini
    - /etc/php/8.1/cli/conf.d/20-calendar.ini
    - /etc/php/8.1/cli/conf.d/20-ctype.ini
    - /etc/php/8.1/cli/conf.d/20-curl.ini
    - /etc/php/8.1/cli/conf.d/20-dba.ini
    - /etc/php/8.1/cli/conf.d/20-dom.ini
    - /etc/php/8.1/cli/conf.d/20-enchant.ini
    - /etc/php/8.1/cli/conf.d/20-exif.ini
    - /etc/php/8.1/cli/conf.d/20-ffi.ini
    - /etc/php/8.1/cli/conf.d/20-fileinfo.ini
    - /etc/php/8.1/cli/conf.d/20-ftp.ini
    - /etc/php/8.1/cli/conf.d/20-gd.ini
    - /etc/php/8.1/cli/conf.d/20-gearman.ini
    - /etc/php/8.1/cli/conf.d/20-gettext.ini
    - /etc/php/8.1/cli/conf.d/20-gmp.ini
    - /etc/php/8.1/cli/conf.d/20-gnupg.ini
    - /etc/php/8.1/cli/conf.d/20-iconv.ini
    - /etc/php/8.1/cli/conf.d/20-igbinary.ini
    - /etc/php/8.1/cli/conf.d/20-imagick.ini
    - /etc/php/8.1/cli/conf.d/20-imap.ini
    - /etc/php/8.1/cli/conf.d/20-intl.ini
    - /etc/php/8.1/cli/conf.d/20-ldap.ini
    - /etc/php/8.1/cli/conf.d/20-mbstring.ini
    - /etc/php/8.1/cli/conf.d/20-memcache.ini
    - /etc/php/8.1/cli/conf.d/20-mongodb.ini
    - /etc/php/8.1/cli/conf.d/20-msgpack.ini
    - /etc/php/8.1/cli/conf.d/20-mysqli.ini
    - /etc/php/8.1/cli/conf.d/20-oauth.ini
    - /etc/php/8.1/cli/conf.d/20-odbc.ini
    - /etc/php/8.1/cli/conf.d/20-pcov.ini
    - /etc/php/8.1/cli/conf.d/20-pdo_dblib.ini
    - /etc/php/8.1/cli/conf.d/20-pdo_firebird.ini
    - /etc/php/8.1/cli/conf.d/20-pdo_mysql.ini
    - /etc/php/8.1/cli/conf.d/20-pdo_odbc.ini
    - /etc/php/8.1/cli/conf.d/20-pdo_pgsql.ini
    - /etc/php/8.1/cli/conf.d/20-pdo_sqlite.ini
    - /etc/php/8.1/cli/conf.d/20-pgsql.ini
    - /etc/php/8.1/cli/conf.d/20-phar.ini
    - /etc/php/8.1/cli/conf.d/20-posix.ini
    - /etc/php/8.1/cli/conf.d/20-ps.ini
    - /etc/php/8.1/cli/conf.d/20-pspell.ini
    - /etc/php/8.1/cli/conf.d/20-raphf.ini
    - /etc/php/8.1/cli/conf.d/20-readline.ini
    - /etc/php/8.1/cli/conf.d/20-redis.ini
    - /etc/php/8.1/cli/conf.d/20-rrd.ini
    - /etc/php/8.1/cli/conf.d/20-shmop.ini
    - /etc/php/8.1/cli/conf.d/20-simplexml.ini
    - /etc/php/8.1/cli/conf.d/20-smbclient.ini
    - /etc/php/8.1/cli/conf.d/20-snmp.ini
    - /etc/php/8.1/cli/conf.d/20-soap.ini
    - /etc/php/8.1/cli/conf.d/20-sockets.ini
    - /etc/php/8.1/cli/conf.d/20-sqlite3.ini
    - /etc/php/8.1/cli/conf.d/20-ssh2.ini
    - /etc/php/8.1/cli/conf.d/20-sysvmsg.ini
    - /etc/php/8.1/cli/conf.d/20-sysvsem.ini
    - /etc/php/8.1/cli/conf.d/20-sysvshm.ini
    - /etc/php/8.1/cli/conf.d/20-tidy.ini
    - /etc/php/8.1/cli/conf.d/20-tokenizer.ini
    - /etc/php/8.1/cli/conf.d/20-uploadprogress.ini
    - /etc/php/8.1/cli/conf.d/20-uuid.ini
    - /etc/php/8.1/cli/conf.d/20-xdebug.ini
    - /etc/php/8.1/cli/conf.d/20-xmlreader.ini
    - /etc/php/8.1/cli/conf.d/20-xmlrpc.ini
    - /etc/php/8.1/cli/conf.d/20-xmlwriter.ini
    - /etc/php/8.1/cli/conf.d/20-xsl.ini
    - /etc/php/8.1/cli/conf.d/20-yaml.ini
    - /etc/php/8.1/cli/conf.d/20-zip.ini
    - /etc/php/8.1/cli/conf.d/20-zmq.ini
    - /etc/php/8.1/cli/conf.d/25-http.ini
    - /etc/php/8.1/cli/conf.d/25-mailparse.ini
    - /etc/php/8.1/cli/conf.d/25-memcached.ini
    - /etc/php/8.1/cli/conf.d/30-ds.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-filter` to temporarily ignore these required extensions.

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant