Skip to content

[BUG]: Phalcon 5 can't be installed or used on PHP 8.2 #16459

@svdigital-development

Description

@svdigital-development

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

Provide output if related. Provide coredump if any. Use https://docs.phalcon.io/en/latest/generating-backtrace as reference.

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

  • Phalcon version: 5.1/5.2
  • PHP Version: 8.2.7
  • Operating System: Debian 10
  • Installation type: Compiling from source or installing via package manager PECL
  • Zephir version (if any): don't know how to find out
  • Server: Nginx

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement to the frameworknot a bugReported issue is not a bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions