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.

Not able to switch from PHP 5.6 to PHP 7 within Phalcon 3


I can't load within PHP 7. I think the problem is that the extension is putted inside


instead of


Tried to copy it but without success. With PHP 5.6 it works fine. What else can I do?

The PHP error message is:

PHP Fatal error:  Uncaught Error: Class 'Phalcon\\Di\\FactoryDefault' not found

Loaded php.ini:



You can't copy it. You need to install php7 and php7-dev packages and install phalcon from a scratch for php 7.


Fixed with uninstalling PHP 5.6.