Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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 -DPHPATOMINC -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 -DPHALCONRELEASE -DHAVECONFIGH -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 -DPHPATOMINC -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 -DPHALCONRELEASE -DHAVECONFIGH -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 ‘zephirfetchstaticpropertyce’: /tmp/cphalcon/build/32bits/phalcon.zep.c:6970: warning: passing argument 2 of ‘zendreadstaticproperty’ discards qualifiers from pointer target type /usr/include/php/Zend/zendAPI.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



33.4k
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?