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 centos 7 + php 7.0.8

In file included from /root/cphalcon/build/64bits/phalcon.zep.c:175:0: /root/cphalcon/build/64bits/phalcon.zep.h:433:1: error: unknown type name 'zend_object_value' static zend_object_value zephir_init_properties_Phalcon_Mvc_Model_Validator(zend_class_entry *class_type TSRMLS_DC);

/root/cphalcon/build/64bits/phalcon.zep.h:7103:1: error: unknown type name 'zend_object_value' static zend_object_value zephir_init_properties_Phalcon_Assets_Collection(zend_class_entry *class_type TSRMLS_DC);

/root/cphalcon/build/64bits/phalcon.zep.h:11600:1: error: unknown type name 'zend_object_value' static zend_object_value zephir_init_properties_Phalcon_Http_Response_Headers(zend_class_entry *class_type TSRMLS_DC);

/root/cphalcon/build/64bits/phalcon.zep.h:18100:1: error: unknown type name 'zend_object_value' static zend_object_value zephir_init_properties_Phalcon_Translate_Adapter_Csv(zend_class_entry *class_type TSRMLS_DC);

/root/cphalcon/build/64bits/phalcon.zep.c:184:40: fatal error: ext/standard/php_smart_str.h: No such file or directory

include <ext/standard/php_smart_str.h>

                                    ^

compilation terminated. make: *** [phalcon.lo] Error 1

Im installing by standard method clonning and ./install , any help please?

You need Zephir to install Phalcon with php7: https://blog.phalcon.io/post/phalcon-2-0-13-released

git clone https://github.com/phalcon/cphalcon
cd cphalcon
git checkout 2.1.x
zephir build --backend=ZendEngine3


27.0k

i use centos 7 nginx php7.0.9 then zephir comiliing so long ..............................................?

hardware specs? dont expect instant binaries on a raspberry...