The versioning issue is fixed today. Now you can use the usual approach when installing or updating the Phalcon framework.
How the Phalcon Team will schedule framework releases in the future:
Stable
versions correspond to Phalcon release tags and should be used
in production (eg. v3.4.2
)
Mainline
versions correspond to Phalcon release tags which are not stable. Сan be used with care by experienced users (eg. v4.0.0-alpha.1
)
Nightly
versions are built daily and should not be used in production
Installation/configuration details for each version and operating system can be found below:
Configuration
DEB packages
# Stable releases
curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh | sudo bash
# Mainline releases
curl -s https://packagecloud.io/install/repositories/phalcon/mainline/script.deb.sh | sudo bash
# Nightly releases
curl -s https://packagecloud.io/install/repositories/phalcon/nightly/script.deb.sh | sudo bash
RPM packages
# Stable releases
curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.rpm.sh | sudo bash
# Mainline releases
curl -s https://packagecloud.io/install/repositories/phalcon/mainline/script.rpm.sh | sudo bash
# Nightly releases
curl -s https://packagecloud.io/install/repositories/phalcon/nightly/script.rpm.sh | sudo bash
Programmatic way
export BASE_URI="https://packagecloud.io/install/repositories"
export PRODUCT=phalcon
export BRANCH=mainline
export PACKAGE=rpm
curl -s "${BASE_URI}/${PRODUCT}/${BRANCH}/script.${PACKAGE}.sh" | sudo bash
Installation
Select the required package from the list using the command as follows:
DEB packages
# Phalcon PHP framework
apt-cache search phalcon | grep "High performance PHP framework"
# Debug symbols for Phalcon
apt-cache search phalcon-dbgsym
RPM packages
# Phalcon PHP framework
yum search phalcon | grep "High performance PHP framework"
# Debug symbols for Phalcon
yum search phalcon | grep "Debug information for package"
Download packages manually