Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for phalcon/devtools dev-master -> satisfiable by pha lcon/devtools[dev-master].
- phalcon/devtools dev-master requires ext-phalcon ~3.3 -> the requested PHP extension phalcon is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- E:\xampp\php\php.ini
You can also run `php --ini` inside terminal to see which files are used by PH P in CLI mode.
# 原因没有安装扩展phalcon.dll
call to undefined method or service ‘getConfig’
原因是将路由指到网站根目录而不是public
IndexController handler class cannot be loaded
#在service.php中设置默认的命名空间
$di->setShared('session', function () {
$session = new SessionAdapter();
$session->start();
return $session;
});