Azure / azure-sdk-for-php

Microsoft Azure SDK for PHP
http://azure.microsoft.com/en-us/develop/php/
Apache License 2.0
415 stars 273 forks source link

Cannot install on php:apache with php v8 #1010

Open mzac opened 3 years ago

mzac commented 3 years ago

When building against the docker container php:apache which is now running php 8, I get the following errors:

Running composer update microsoft/windowsazure
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - microsoft/windowsazure[v0.5.0, ..., v0.5.7] require zendframework/zend-mime ^2.6 -> satisfiable by zendframework/zend-mime[2.6.0, ..., 2.7.2].
    - zendframework/zend-mime[2.6.0, ..., 2.6.1] require php ^5.5 || ^7.0 -> your php version (8.0.0) does not satisfy that requirement.
    - zendframework/zend-mime[2.7.0, ..., 2.7.2] require php ^5.6 || ^7.0 -> your php version (8.0.0) does not satisfy that requirement.
    - Root composer.json requires microsoft/windowsazure ^0.5 -> satisfiable by microsoft/windowsazure[v0.5.0, ..., v0.5.7].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.

As a workaround, I will be using the php:7.4-apache image

Also, there are still warnings about outdated packages:

Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package microsoft/azure-storage is abandoned, you should avoid using it. Use microsoft/azure-storage-blob;microsoft/azure-storage-queue;microsoft/azure-storage-table;microsoft/azure-storage-file instead.
Package zendframework/zend-loader is abandoned, you should avoid using it. Use laminas/laminas-loader instead.
Package zendframework/zend-mail is abandoned, you should avoid using it. Use laminas/laminas-mail instead.
Package zendframework/zend-mime is abandoned, you should avoid using it. Use laminas/laminas-mime instead.
Package zendframework/zend-stdlib is abandoned, you should avoid using it. Use laminas/laminas-stdlib instead.
Package zendframework/zend-validator is abandoned, you should avoid using it. Use laminas/laminas-validator instead.
tanerkay commented 3 years ago

see #1005

unfortunately it seems this package is abandoned.