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

spatie/db-dumper requires php 7.3 #1561

Closed
asonix opened this issue Aug 1, 2019 · 11 comments
Closed

spatie/db-dumper requires php 7.3 #1561

asonix opened this issue Aug 1, 2019 · 11 comments
Labels
⚙️ Deployment Related to specific deployments or configurations

Comments

@asonix
Copy link
Contributor

asonix commented Aug 1, 2019

When trying to install pixelfed today, I encountered an issue with being able to install the proper dependencies on php 7.2. The documentation states that 7.1+ should be fine for pixelfed, but this is only true if the composer.lock file is deleted so composer can install the working versions of each dependency

@okpierre
Copy link
Contributor

okpierre commented Aug 1, 2019

Some upstream dependencies require php 7.3

Maybe this should be included in the notes for v0.10.0 so others will also be aware of this but I'm not sure how to do that @dansup

@dansup dansup added the ⚙️ Deployment Related to specific deployments or configurations label Aug 1, 2019
@dansup
Copy link
Member

dansup commented Aug 2, 2019

@asonix @okpierre I will update the documentation to reflect the new minimum php version 7.3

@trwnh
Copy link
Member

trwnh commented Aug 2, 2019

@dansup done in pixelfed/docs@a7ce30b (btw, that docs PR should be ready to merge sometime later today)

@trwnh trwnh closed this as completed Aug 2, 2019
@asonix
Copy link
Contributor Author

asonix commented Aug 2, 2019

That really wasn't the solution I was hoping for... Ubuntu 18.04 ships with php 7.2, and I'm not sure there exist PPAs to upgrade an aarch64 device to 7.3...

@trwnh
Copy link
Member

trwnh commented Aug 2, 2019

Hm. Is there a way to get it working with PHP 7.2 then?

@asonix
Copy link
Contributor Author

asonix commented Aug 2, 2019

Yeah, I'm currently running with 7.2 without issues that I can tell. I mentioned in the initial issue that deleting the composer.lock file and letting composer figure out the dependencies on it's own got it working in my case.

@okpierre
Copy link
Contributor

okpierre commented Aug 2, 2019

@asonix have you tried php7.3 from ppa:ondrej?

@asonix
Copy link
Contributor Author

asonix commented Aug 2, 2019

@okpierre I have not! I could try that this evening, though. I'm not sure if all the required php libraries are packaged, though. I guess we'll find out!

@dansup
Copy link
Member

dansup commented Aug 2, 2019

@asonix PHP 7.2 is only supported for 3 more months.

@hinaloe
Copy link
Contributor

hinaloe commented Oct 13, 2019

Would you like to update composer.json?

@bms8197
Copy link

bms8197 commented Aug 1, 2020

That really wasn't the solution I was hoping for... Ubuntu 18.04 ships with php 7.2, and I'm not sure there exist PPAs to upgrade an aarch64 device to 7.3...

sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
apt install php7.3-fpm

Same goes for php-7.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ Deployment Related to specific deployments or configurations
Projects
None yet
Development

No branches or pull requests

6 participants