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

Documentation should state that an old version of PHP is required. Also, required php modules section is missing pcntl #81

Open
arduent opened this issue Jan 22, 2022 · 3 comments

Comments

@arduent
Copy link

arduent commented Jan 22, 2022

Problem 1
- laravel/horizon is locked to version v5.7.17 and an update of this package was not requested.
- laravel/horizon v5.7.17 requires ext-pcntl * -> it is missing from your system. Install or enable PHP's pcntl extension.
Problem 2
- fzaninotto/faker is locked to version v1.9.2 and an update of this package was not requested.
- fzaninotto/faker v1.9.2 requires php ^5.3.3 || ^7.0 -> your php version (8.1.1) does not satisfy that requirement.

faker is unsupported and abandoned according to the author. probably shouldn't use it in modern software?

deleting all the faker stuff out of composer.lock allows the composer update to run (after install pcntl PHP module), however there is another warning about using abandoned software that should be fixed.

"Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead."

@mraiur
Copy link

mraiur commented Nov 17, 2022

It was a little try and error but i managed to start it with php 8.1.

@murtezayesil
Copy link

Some time passed since this issue was shared but now I am facing the issue other way around. I tried to install Pixelfed on a Debian Stable server and since the latest PHP version there is 7.4 and current Pixelfed build in dev branch depends on packages which don't like anything older than 8.1, it won't be possible to install on Debian Stable. But according to documentation 7.3 should work.

Documentation @ https://github.com/pixelfed/docs/blame/main/content/en/running-pixelfed/prerequisites.md#L84 needs to be updated as "Make sure you are running PHP >= 8.1".

@trwnh
Copy link
Member

trwnh commented Dec 8, 2022

it should work with php 8.0 as well, but i'll see what dansup has to say about it

EDIT: fwiw the requirements for PHP are defined in composer.json: https://github.com/pixelfed/pixelfed/blob/dev/composer.json

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

4 participants