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

I get an error like the title. The whole mistake is as follows. :

PHP Fatal error: Uncaught Error: Class 'Phalcon\\Di\\FactoryDefault' not found in /home/admin/web/example.com/public_html/public/index.php:15\nStack trace:\n#0 {main}\n thrown in /home/admin/web/example.com/public_html/public/index.php on line 15

I see that phalcon and other requirements work in PHP info. What could be the problem?

You don't hav extension loaded. Did you check phpinfo in fpm or in cli?

You need to install phalcon extension

if you have server linux :

to install::

centos ::

sudo yum install php-phalcon

ubuntu ::

sudo apt-get install php-phalcon

Greetings.