cakephp: Class "Cake\Chronos\Date" not found
Description
Class "Cake\Chronos\Date" not found in /cakephp/vendor/cakephp/cakephp/src/I18n/FrozenDate.php:29
In the last Techempower benchmark CakePHP fail to run. With php-fpm, don’t show any error but don’t run. With Workerman also fail, but show this error.
Info:
Bench build:
https://tfb-status.techempower.com/unzip/results.2023-08-30-17-02-33-292.zip/results/20230824091415/cakephp-workerman/build/cakephp-workerman.log
Composer.json https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/PHP/cakephp/composer.json Here you can check the rest of files, including the dockerfiles.
Looks like a problem from the Cakephp side, but any help will be apreciated.
Thank you.
CakePHP Version
4.4.17
PHP Version
8.2.9
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 29 (13 by maintainers)
@joanhey Try running
composer installwithout--classmap-authoritativeand see if it makes a difference with the new Chronos version.So we can close?
The bench with CakePHP 5 is ready.
The new version is a bit slower. Adapterman is still slower than normal php-fpm, I’ll create a issue about that.
Updated the benchmark to CakePHP v5. https://github.com/TechEmpower/FrameworkBenchmarks/pull/8472 If anybody want to review it !!
Later I’ll send the results from v4.4 vs v5. And check also with Adapterman if it’s faster now.
@ndm2 yes I can change the branch and test without
--classmap-authoritative.