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

PHP 7 and Phalcon

With new and shiny PHP 7 in the make, what's the plan for Phalcon to ensure it's compatibility with the tremendous improvements in the next major release of PHP? How will Zephir cope with this?

Hi, I hope this helps. I figured it out after a lot of playing around and reading. I provided instructions to swap PHP versions, one with Phalcon (5.6) the other not. It doesn't take too long.

Instructions for Ubuntu Xenial (PHP7): https://github.com/JREAM/phalcon-xenial

You can then type:

enphp5 (uses phalcon)
enphp7 (non-phalcon)

I using Centos 7 64 bit with Php 7.0.8. I build phalcon 2.1 This is error

[[email protected] cphalcon]# zephir build --backend=ZendEngine3
zephir_parser extension not loaded, compiling it
Parser statistics: 127 terminals, 99 nonterminals, 459 rules
                   947 states, 0 parser table entries, 0 conflicts
Parser statistics: 127 terminals, 99 nonterminals, 459 rules
                   947 states, 0 parser table entries, 0 conflicts
make: *** No rule to make target `clean'.  Stop.
Preparing for parser compilation...
sh: ./configure: No such file or directory
Compiling the parser...
make: *** No targets specified and no makefile found.  Stop.

Please help me

Have you installed autoconf, make, libtool, gcc, etc?

I using Centos 7 64 bit with Php 7.0.8. I build phalcon 2.1 This is error

[[email protected] cphalcon]# zephir build --backend=ZendEngine3
zephir_parser extension not loaded, compiling it
Parser statistics: 127 terminals, 99 nonterminals, 459 rules
                  947 states, 0 parser table entries, 0 conflicts
Parser statistics: 127 terminals, 99 nonterminals, 459 rules
                  947 states, 0 parser table entries, 0 conflicts
make: *** No rule to make target `clean'.  Stop.
Preparing for parser compilation...
sh: ./configure: No such file or directory
Compiling the parser...
make: *** No targets specified and no makefile found.  Stop.

Please help me