Search code examples
phpphalcon

Phalcon choose version to install


When I update my server, my phalcon version has passed to 4.0.0-alpha-1, and my project does not work. I have good version of PHP, and installed PSR extension.

I wanted use phalcon develop tools for create new project phalcon and compare, but it seems not compatible with new version of phalcon...

How install manually phalcon 3.4.2 ?

Thanks


Solution

  • There seems to be an issue with repository at this moment. To downgrade your library use this command in terminal:

    sudo apt-get remove php7.2-phalcon
    sudo apt-get install php7.2-phalcon=3.4.*
    sudo apt-mark hold php7.2-phalcon
    

    Then restart your Apache/Nginx/PHP-FPM service.