-
-
Notifications
You must be signed in to change notification settings - Fork 2k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
[BUG]: Phalcon 5 can't be installed or used on PHP 8.2 #16459
Comments
I also encountered the same problem. The Dockerfile is roughly written as follows. FROM php:8.2-fpm-bullseye
(Installation of necessary packages, etc....omitted)
ENV PHALCON_VERSION="5.4.0"
RUN set -eux; \
pecl install phalcon-${PHALCON_VERSION}; \
pecl clear-cache |
You need at least 3Gb of RAM to compile Phalcon, ideally more. Compilation warning are to ignore. If you are installing via pecl inside VM or in machine with limited RAM resource, add swap file with 5Gb. |
Screen.Recording.2023-11-05.at.18.15.39.480p.movHere is example how RAM grows during single thread compilation, which takes ±3 minutes. |
I've got it. I don't know what @svdigital-development environment is, but I hope things go well. |
@s-ohnishi ideally is to pre-compile ready to use |
I see, I didn't notice that. |
@s-ohnishi This is on todo list, there are some ready to use images, but still plenty things to do. https://github.com/phalcon/docker - track this repository for further updates. |
@Jeckerson |
@s-ohnishi Find me in our Discord sever for further ideas - https://phalcon.io/discord |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Describe the bug
We are UNABLE to use Phalcon 5 with PHP 8.2 and this is preventing us to upgrade our applications. PHP 8.1 will end its active support in one month and it's unbelievable that it's impossible to upgrade to php8.2 using Phalcon.
The documentation is unuseful: https://docs.phalcon.io/5.0/it-it/installation
"pecl install phalcon" on Debian generates a HUGE amount of warnings on Zephir.
After all those warnings, the installation stops and gets stuck. The pointer remains on its position like it's waiting for a process to end, but in reality the server is not doing anything. I tried waiting even half an hour, but nothing happens.
I tried to compile from sources, but I get the same errors.
I can't find any new sury repository for php8.2-phalcon5 (until php 8.1 it was SOOO simple and handy to install Phalcon so easily).
I read #16401 and #15973 but no one explains how to fix this bug/issue.
The documentation doesn't explain how to install Phalcon on PHP 8.2.
To Reproduce
Steps to reproduce the behavior:
Try to install Phalcon5 with php 8.2.
Expected behavior
Phalcon5 is correctly installed in a few seconds and available for use on PHP 8.2 (fpm/cli).
Details
The text was updated successfully, but these errors were encountered: