We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Error at installing phalcon in centos 5

i start installing phalcon on my cent os vps form this website : https://tecadmin.net/install-phalcon-php-framework-on-centos-redhat/

php version is : 5.1.6

and when i try to build it , i see more of more errors like that : 1 : /cphalcon/build/32bits/phalcon.zep.c:4528: error: expected '=', 2 : cphalcon/build/32bits/phalcon.zep.c:6913: error: 'ZEND_FETCH_CLASS_MASK' undeclared (first use in this function) and ......



8.1k

CentOS 5 and PHP 5.1 are deprecated.

See https://github.com/phalcon/cphalcon#requirements

i installed php 5.3 in cent os but i can not install it yet

compiler stop at : /opt/cphalcon/build/32bits/phalcon.zep.c:98723:1: warning: this is the location of the previous definition



16.0k
Accepted
answer

minimum for phalcon 2.0.x is php 5.4. Anyway, php 5.3 reached end of life on August 2014