0

Hello im trying to install phalcon and devtools but something is going wrong. I did everything I saw in tutorials installed phalcon, changed the php.ini, intalled devtools but it still doesn't no work.

php version

phalcon devtools

but when i try to create a project...

this happens

  • 1
    That is strange, because here https://github.com/phalcon/cphalcon/blob/master/phalcon/Config/Config.zep you can see that `new \Phalcon\Config\Config()` is the right way. But here https://github.com/phalcon/phalcon-devtools/blob/master/src/Builder/Component/AbstractComponent.php is this used `use Phalcon\Config`. See https://github.com/phalcon/phalcon-devtools/issues/1529 – Foobar Nov 11 '22 at 16:40

2 Answers2

2

The problem was the versions of devtools, phalcon and php. I was using php 7.4.26, phalcon 5.1 and devtools 4.2 and it was incompatible so i installed phalcon 4.0.6 and everything worked.

0

You have installed Phalcon Dev tools, but check the Phalcon installation in php itself. Try: php -i | grep 'phalcon'

Edgars
  • 21
  • 3