Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 2.20 -> Your Composer dependencies require a PHP version ">= 8.0.0". #53

Closed
zunami opened this issue Nov 22, 2022 · 7 comments
Closed

Comments

@zunami
Copy link

zunami commented Nov 22, 2022

I have a problem with the current update to 2.20
I now get this message

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0".

my device has PHP 8.0 installed and works with an nginx server

@jpfox
Copy link
Member

jpfox commented Nov 24, 2022

composer is not used to install cdav... just unzip it in your custom directory

@jpfox
Copy link
Member

jpfox commented Nov 24, 2022

This error effectively occurs in php logs if you have not php 8 or greater. Are you sure that you run this version on your web server ?
The error message specifies your php version :

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.2.34

@zunami
Copy link
Author

zunami commented Nov 28, 2022

hello!

I have already bring up to date to the 2.21 version .
and again the php 8 error

I have installed
php 7.4
php 8.0
php 8.1

2022-11-28 12_22_44-Greenshot

@daraelmin
Copy link

Hi,

Installing PHP 8.1 is not enough. You must launch it. There can be several version of PHP on the same server (or computer), but only one can ne running at one tome. So I assume, you've just have to stop PHP 7.2.34 and Start PHP 8.1.

Cheers

@zunami
Copy link
Author

zunami commented Dec 12, 2022

so i have finished it now. i have version 16.0.3 with php 7.4
problem is I can not go to php 8.0 because this causes too many errors in the background.

Dolibarr release and bug information

I guess I have to wait for the dolibarr 17 until the final release with the correction to php 8.0

@jpfox
Copy link
Member

jpfox commented Dec 12, 2022

The recent upgrade of Sabre/DAV embedded with cdav was certainly not so welcome. I think I will generate a branch dedicated to php 7.4 with the previous version of Sabre/DAV...

I will anounce it here

@zunami
Copy link
Author

zunami commented Jun 29, 2023

problem fixed since update to Dolibarr 17.0 and update to PHP 8.0

@zunami zunami closed this as completed Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants