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

Cannot Install Phalcon Centos 6.7/apache 2.2.15/php 5.3.3

Hello,

I have searched several times and look at forums regarding this but i cannot seem to find a solutions I'm pretty new at programming and this VPS stuff too. I'm use to using cpanel for server stuff but now I do not have that luxury right now.

I cannot seem to install phalcon on my droplet in digital ocean i have a CentOS 6.7, Apache 2.2.15 and php 5.3.3 it is also showing this.

/bin/sh /tmp/cphalcon/build/32bits/libtool --mode=compile gcc -I. -I/tmp/cphalcon/build/32bits -DPHP_ATOM_INC -I/tmp/cphalcon/build/32bits/include -I/tmp/cphalcon/build/32bits/main -I/tmp/cphalcon/build/32bits -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -fomit-frame-pointer -fvisibility=hidden -c /tmp/cphalcon/build/32bits/phalcon.zep.c -o phalcon.lo libtool: compile: gcc -I. -I/tmp/cphalcon/build/32bits -DPHP_ATOM_INC -I/tmp/cphalcon/build/32bits/include -I/tmp/cphalcon/build/32bits/main -I/tmp/cphalcon/build/32bits -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -fomit-frame-pointer -fvisibility=hidden -c /tmp/cphalcon/build/32bits/phalcon.zep.c -fPIC -DPIC -o .libs/phalcon.o /tmp/cphalcon/build/32bits/phalcon.zep.c: In function ‘zephir_fetch_static_property_ce’: /tmp/cphalcon/build/32bits/phalcon.zep.c:6970: warning: passing argument 2 of ‘zend_read_static_property’ discards qualifiers from pointer target type /usr/include/php/Zend/zend_API.h:321: note: expected ‘char ’ but argument is of type ‘const char ’ /tmp/cphalcon/build/32bits/phalcon.zep.c: In function ‘zephir_update_static_property_ex’: /tmp/cphalcon/build/32bits/phalcon.zep.c:7080: warning: passing argument 2 of ‘zend_std_get_static_property’ discards qualifiers from pointer target type /usr/include/php/Zend/zend_object_handlers.h:147: note: expected ‘char ’ but argument is of type ‘const char ’ /tmp/cphalcon/build/32bits/phalcon.zep.c: In function ‘zephir_require_ret’: /tmp/cphalcon/build/32bits/phalcon.zep.c:12641: warning: assignment discards qualifiers from pointer target type /tmp/cphalcon/build/32bits/phalcon.zep.c: At top level: /tmp/cphalcon/build/32bits/phalcon.zep.c:139430: error: ‘ZEND_FE_END’ undeclared here (not in a function) make: *** [phalcon.lo] Error 1

To be honest I do not totally understand It and I already google it but I cannot still install phalcon.

Thank you in advance for people who will answer my questions



34.6k
Accepted
answer

Phalcon requires PHP >= 5.3.21 or higher

I have upgraded my PHP to 5.6.12 and I have no problem installing it but I cannot see it in my phpinfo.

@aldrinmango how did you update from 5.3 to 5.6 in centos? or you just delte the previous version and installed the new one?