-
Notifications
You must be signed in to change notification settings - Fork 281
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
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".
#1251
Comments
This happened to me today after the update to .0.9.5. I'm running PHP 8.0. I went to .....baikal/vendor/composer/platform_check.php and commented out line 8 (below). if (!(PHP_VERSION_ID >= 80100)) { This WORKED. I was able to bring up the Admin screen. Eventually I'll update my Linode Ubuntu 20.04 to PHP 8.1. What is "Composer" and why do we need it? I tried putting in an 'exit' statement at the top of the 'platform_check.php' module but I got the white-screen-of-death when I tried to bring up the Admin system. So I just commented out the one line and it now works. |
NOT WORKING AGAIN! Something in Baikal admin does not like PHP 8.3. UPDATE I turned on the errors in .users.ini (for PHP) and I saw the message: "pdo sqlite could not find driver...." The white screen of death was because when I updated to PHP 8.3 I failed to install sudo apt-get install php8.3-sqlite (Note: For other PHP versions, use sudo apt-get install phpX.Y-sqlite after replacing X.Y with your PHP version number. Once I did that everything worked again. (I did not have to comment out any code.) |
I've the same issue after upgrading from 0.9.4 to 0.9.5 using PHP 7.4.33 (Debian 11). Workaround in -if (!(PHP_VERSION_ID >= 80100)) {
+// if (!(PHP_VERSION_ID >= 80100)) {
+// See: https://github.com/sabre-io/Baikal/issues/1251
+if (!(PHP_VERSION_ID >= 70200)) { Baïkal is marked supported by PHP 7.4, I think that this bug was introduce when upgrading Downgrading |
I've heard that Baikal is going to be replaced by some new Sabre front-end system, but I don't know any more than that. Baikal has worked fine for me. While I use iCloud as my primary address book with BusyContacts (on Mac) as the front end, I also have two Baikal servers... on two different hosting companies. Busy Contacts does a good job keeping everything synced to the iCloud "master." |
@Leepic when I have PHP 7.4 and do And that has:
That allows It is working for me. |
I think the problem is that I created the release builds (for people not using composer) on a machine with a more recent php version. For the release builds we should instruct composer to use the lowest supported version. Working on a PR now. |
Baikal version:
Baikal 0.9.5
PHP 8.3.4
Expected behaviour:
Baikal should show its web page.
Current behaviour:
Baikal shows this message:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".
Steps to reproduce:
I'm using the following
Dockerfile
to build my baikal image:and I'm using the following
docker-compose.yml
to get the app running with nginx:This works fine with 0.9.4. Searching the error message didn't give me much help.
The text was updated successfully, but these errors were encountered: