致命错误:未捕获错误:类“Phalcon\Config”在 Phalcon Php 应用程序中找不到
我在 Ubuntu 中安装了 Phalcon PHP 版本 5.0.0beta3,因为它与 PHP 8.0 兼容,但是当我运行我的应用程序时,找不到一些 Phalcon 类,我已经使用以下命令安装了 psr 模块:
sudo apt install php8.0-psr
并且我已经安装了 phalcon.so通过直接从 phalcon php github 版本下载,所以当我访问我的 phpinfo() 时,我可以在那里看到它:
知道发生了什么吗?
I installed Phalcon PHP version 5.0.0beta3 in my Ubuntu, because it's compatible with PHP 8.0, but when I run my application some Phalcon classes are not found, I already installed the psr module using the following command:
sudo apt install php8.0-psr
and I have installed phalcon.so by direct download from phalcon php github releases, so when I access my phpinfo() I can see it there:
evidence of phalcon.so instalation
any idea what's going on?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Phalcon 5 有许多向后不兼容的更改。最突出的是基本 Phalcon 命名空间中的所有类都被移动到更准确的位置。
Etc
查看发行说明 https://github .com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md 了解具体更改。
Phalcon 5 has a number of backwards incompatible changes. Most prominent is all the classes in the base Phalcon namespace were moved to more accurate locations.
Etc
Check the release notes at https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md for specific changes.