-
Notifications
You must be signed in to change notification settings - Fork 59
Installation issues #39
Description
I decided to download CakePHP for the first time but it didn't work out a bit. At first I downloaded it via Composer in the command line, but it still said that the plugins were not enabled, even though they were, I had created the project but I couldn't view it normally like in my browser on Localhost, so I decided to use Oven. With the help of Oven, I almost succeeded until the end of the installation "Error installing package cakephp/plugin-installer" was displayed and the continuation of the installation was not successful. I'm using CakePHP version 4.0.10 and PHP version 8.1.6, mbstring, openssl and intl extensions are up and running fine, Composer version is 2.4.3. I really don't know where the problem could be.
The text that was written after the failed installation ended:
Checking path...
/opt/lampp/htdocs/app directory is writable
Checking PHP version...
Your version of PHP is 5.5.9 or higher (detected 8.1.6).
Checking mbstring extension...
Your version of PHP has the mbstring extension loaded.
Checking openssl/mcrypt extension...
Your version of PHP has the openssl extension loaded.
Checking intl extension...
Your version of PHP has the intl extension loaded.
Installing composer...
Composer version 2.4.3 2022-10-14 16:56:41
Creating CakePHP project...
Creating a "cakephp/app:~4.0.0" project at "./app"
Info from https://repo.packagist.org: #StandWithUkraine
Installing cakephp/app (4.0.4)
- Installing cakephp/app (4.0.4): Extracting archive
Created project in /opt/lampp/htdocs/app
Installing cakephp/cakephp:~4.0.10...
./composer.json has been updated
Running composer update cakephp/cakephp
Loading composer repositories with package information
Updating dependencies
Lock file operations: 14 installs, 0 updates, 0 removals
- Locking aura/intl (3.0.1)
- Locking cakephp/cakephp (4.0.10)
- Locking cakephp/chronos (2.3.0)
- Locking composer/ca-bundle (1.3.4)
- Locking laminas/laminas-diactoros (2.19.0)
- Locking laminas/laminas-httphandlerrunner (1.5.0)
- Locking laminas/laminas-zendframework-bridge (1.6.1)
- Locking psr/http-client (1.0.1)
- Locking psr/http-factory (1.0.1)
- Locking psr/http-message (1.0.1)
- Locking psr/http-server-handler (1.0.1)
- Locking psr/http-server-middleware (1.0.1)
- Locking psr/log (1.1.4)
- Locking psr/simple-cache (1.0.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 14 installs, 0 updates, 0 removals - Installing psr/simple-cache (1.0.1): Extracting archive
- Installing psr/log (1.1.4): Extracting archive
- Installing psr/http-message (1.0.1): Extracting archive
- Installing psr/http-server-handler (1.0.1): Extracting archive
- Installing psr/http-server-middleware (1.0.1): Extracting archive
- Installing psr/http-client (1.0.1): Extracting archive
- Installing psr/http-factory (1.0.1): Extracting archive
- Installing laminas/laminas-diactoros (2.19.0): Extracting archive
- Installing laminas/laminas-zendframework-bridge (1.6.1): Extracting archive
- Installing laminas/laminas-httphandlerrunner (1.5.0): Extracting archive
- Installing composer/ca-bundle (1.3.4): Extracting archive
- Installing cakephp/chronos (2.3.0): Extracting archive
- Installing aura/intl (3.0.1): Extracting archive
- Installing cakephp/cakephp (4.0.10): Extracting archive
5 package suggestions were added by new dependencies, usecomposer suggestto see details.
Generating autoload files
Class Cake\Composer\Installer\PluginInstaller is not autoloadable, can not call post-autoload-dump script
4 packages you are using are looking for funding.
Use thecomposer fundcommand to find out more!
No security vulnerability advisories found
Installing cakephp/migrations:^3.0@beta...
./composer.json has been updated
Running composer update cakephp/migrations
Loading composer repositories with package information
Updating dependencies
Lock file operations: 13 installs, 0 updates, 0 removals
- Locking cakephp/migrations (3.1.0)
- Locking psr/container (2.0.2)
- Locking robmorgan/phinx (0.12.13)
- Locking symfony/config (v6.1.3)
- Locking symfony/console (v6.1.6)
- Locking symfony/deprecation-contracts (v3.1.1)
- Locking symfony/filesystem (v6.1.5)
- Locking symfony/polyfill-ctype (v1.26.0)
- Locking symfony/polyfill-intl-grapheme (v1.26.0)
- Locking symfony/polyfill-intl-normalizer (v1.26.0)
- Locking symfony/polyfill-mbstring (v1.26.0)
- Locking symfony/service-contracts (v3.1.1)
- Locking symfony/string (v6.1.6)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 13 installs, 0 updates, 0 removals - Installing symfony/polyfill-mbstring (v1.26.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.26.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.26.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.26.0): Extracting archive
- Installing symfony/string (v6.1.6): Extracting archive
- Installing psr/container (2.0.2): Extracting archive
- Installing symfony/service-contracts (v3.1.1): Extracting archive
- Installing symfony/deprecation-contracts (v3.1.1): Extracting archive
- Installing symfony/console (v6.1.6): Extracting archive
- Installing symfony/filesystem (v6.1.5): Extracting archive
- Installing symfony/config (v6.1.3): Extracting archive
- Installing robmorgan/phinx (0.12.13): Extracting archive
- Installing cakephp/migrations (3.1.0): Extracting archive
8 package suggestions were added by new dependencies, usecomposer suggestto see details.
Generating autoload files
Class Cake\Composer\Installer\PluginInstaller is not autoloadable, can not call post-autoload-dump script
14 packages you are using are looking for funding.
Use thecomposer fundcommand to find out more!
No security vulnerability advisories found
If someone could advise me, I would be very happy, because I would like to start, try to create a project using this framework :)