1 回答
TA贡献1865条经验 获得超7个赞
您已经安装了需要首先加载 PSR 扩展的 v4。
看看这篇文章:https : //docs.phalconphp.com/4.0/en/upgrade
简而言之psr.so
,必须存在于您的系统中并在 Phalon 之前加载。
#Ubuntu
$ zephir -V
PHP Warning: Cannot load module 'phalcon' because required module 'psr' is not loaded in Unknown on line 0
Zephir 0.12.12 by Andres Gutierrez and Serghei Iakovlev (1094502)
php -v
PHP Warning: Cannot load module 'phalcon' because required module 'psr' is not loaded in Unknown on line 0
PHP 7.2.24-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Oct 24 2019 18:29:11) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.24-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
PS:我扩展了 psr.so 并配置为 php.ini 但是在运行 zephir 时没有编译
- 1 回答
- 0 关注
- 510 浏览
添加回答
举报