#003 log install

Правила форума
знакомство с codeigniter
Ответить
Аватара пользователя
basn
Site Admin
 

Сообщения: 972
Зарегистрирован: 19 июн 2024, 03:05
Mood:
Контактная информация:

#003 log install

Сообщение basn »

Код: Выделить всё

d:\webmaster>composer create-project codeigniter4/appstarter:4.4.8 project-root --ignore-platform-req=ext-intl
Creating a "codeigniter4/appstarter:4.4.8" project at "./project-root"
Installing codeigniter4/appstarter (v4.4.8)
'where' is not recognized as an internal or external command,
operable program or batch file.
'where' is not recognized as an internal or external command,
operable program or batch file.
    Failed to download codeigniter4/appstarter from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing codeigniter4/appstarter (v4.4.8) into cache
  - Installing codeigniter4/appstarter (v4.4.8): Cloning f4b08c2e9b from cache
Created project in D:\webmaster\project-root
Loading composer repositories with package information
Updating dependencies
Lock file operations: 35 installs, 0 updates, 0 removals
  - Locking codeigniter4/framework (v4.5.5)
  - Locking doctrine/instantiator (2.0.0)
  - Locking fakerphp/faker (v1.23.1)
  - Locking laminas/laminas-escaper (2.14.0)
  - Locking mikey179/vfsstream (v1.6.12)
  - Locking myclabs/deep-copy (1.12.0)
  - Locking nikic/php-parser (v5.3.1)
  - Locking phar-io/manifest (2.0.4)
  - Locking phar-io/version (3.2.1)
  - Locking phpunit/php-code-coverage (9.2.32)
  - Locking phpunit/php-file-iterator (3.0.6)
  - Locking phpunit/php-invoker (3.1.1)
  - Locking phpunit/php-text-template (2.0.4)
  - Locking phpunit/php-timer (5.0.3)
  - Locking phpunit/phpunit (9.6.21)
  - Locking psr/container (2.0.2)
  - Locking psr/log (3.0.2)
  - Locking sebastian/cli-parser (1.0.2)
  - Locking sebastian/code-unit (1.0.8)
  - Locking sebastian/code-unit-reverse-lookup (2.0.3)
  - Locking sebastian/comparator (4.0.8)
  - Locking sebastian/complexity (2.0.3)
  - Locking sebastian/diff (4.0.6)
  - Locking sebastian/environment (5.1.5)
  - Locking sebastian/exporter (4.0.6)
  - Locking sebastian/global-state (5.0.7)
  - Locking sebastian/lines-of-code (1.0.4)
  - Locking sebastian/object-enumerator (4.0.4)
  - Locking sebastian/object-reflector (2.0.4)
  - Locking sebastian/recursion-context (4.0.5)
  - Locking sebastian/resource-operations (3.0.4)
  - Locking sebastian/type (3.2.1)
  - Locking sebastian/version (3.0.2)
  - Locking symfony/deprecation-contracts (v3.5.0)
  - Locking theseer/tokenizer (1.2.3)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 35 installs, 0 updates, 0 removals
    Failed to download psr/log from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing psr/log (3.0.2) into cache
    Failed to download laminas/laminas-escaper from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing laminas/laminas-escaper (2.14.0) into cache
    Failed to download codeigniter4/framework from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing codeigniter4/framework (v4.5.5) into cache
    Failed to download symfony/deprecation-contracts from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing symfony/deprecation-contracts (v3.5.0) into cache
    Failed to download psr/container from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing psr/container (2.0.2) into cache
    Failed to download fakerphp/faker from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing fakerphp/faker (v1.23.1) into cache
    Failed to download mikey179/vfsstream from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing mikey179/vfsstream (v1.6.12) into cache
    Failed to download sebastian/version from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/version (3.0.2) into cache
    Failed to download sebastian/type from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/type (3.2.1) into cache
    Failed to download sebastian/resource-operations from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/resource-operations (3.0.4) into cache
    Failed to download sebastian/recursion-context from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/recursion-context (4.0.5) into cache
    Failed to download sebastian/object-reflector from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/object-reflector (2.0.4) into cache
    Failed to download sebastian/object-enumerator from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/object-enumerator (4.0.4) into cache
    Failed to download sebastian/global-state from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/global-state (5.0.7) into cache
    Failed to download sebastian/exporter from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/exporter (4.0.6) into cache
    Failed to download sebastian/environment from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/environment (5.1.5) into cache
    Failed to download sebastian/diff from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/diff (4.0.6) into cache
    Failed to download sebastian/comparator from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/comparator (4.0.8) into cache
    Failed to download sebastian/code-unit from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/code-unit (1.0.8) into cache
    Failed to download sebastian/cli-parser from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/cli-parser (1.0.2) into cache
    Failed to download phpunit/php-timer from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing phpunit/php-timer (5.0.3) into cache
    Failed to download phpunit/php-text-template from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing phpunit/php-text-template (2.0.4) into cache
    Failed to download phpunit/php-invoker from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing phpunit/php-invoker (3.1.1) into cache
    Failed to download phpunit/php-file-iterator from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing phpunit/php-file-iterator (3.0.6) into cache
    Failed to download theseer/tokenizer from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing theseer/tokenizer (1.2.3) into cache
    Failed to download nikic/php-parser from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing nikic/php-parser (v5.3.1) into cache
    Failed to download sebastian/lines-of-code from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/lines-of-code (1.0.4) into cache
    Failed to download sebastian/complexity from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/complexity (2.0.3) into cache
    Failed to download sebastian/code-unit-reverse-lookup from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing sebastian/code-unit-reverse-lookup (2.0.3) into cache
    Failed to download phpunit/php-code-coverage from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing phpunit/php-code-coverage (9.2.32) into cache
    Failed to download phar-io/version from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing phar-io/version (3.2.1) into cache
    Failed to download phar-io/manifest from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing phar-io/manifest (2.0.4) into cache
    Failed to download myclabs/deep-copy from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing myclabs/deep-copy (1.12.0) into cache
    Failed to download doctrine/instantiator from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing doctrine/instantiator (2.0.0) into cache
    Failed to download phpunit/phpunit from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: D:\webmaster\php\php.ini
    Now trying to download from source
  - Syncing phpunit/phpunit (9.6.21) into cache
  - Installing psr/log (3.0.2): Cloning f16e1d5863 from cache
  - Installing laminas/laminas-escaper (2.14.0): Cloning 0f7cb975f4 from cache
  - Installing codeigniter4/framework (v4.5.5): Cloning 2849e7ff36 from cache
  - Installing symfony/deprecation-contracts (v3.5.0): Cloning 0e0d29ce1f from cache
  - Installing psr/container (2.0.2): Cloning c71ecc56df from cache
  - Installing fakerphp/faker (v1.23.1): Cloning bfb4fe148a from cache
  - Installing mikey179/vfsstream (v1.6.12): Cloning fe695ec993 from cache
  - Installing sebastian/version (3.0.2): Cloning c6c1022351 from cache
  - Installing sebastian/type (3.2.1): Cloning 75e2c2a32f from cache
  - Installing sebastian/resource-operations (3.0.4): Cloning 05d5692a79 from cache
  - Installing sebastian/recursion-context (4.0.5): Cloning e75bd0f072 from cache
  - Installing sebastian/object-reflector (2.0.4): Cloning b4f479ebdb from cache
  - Installing sebastian/object-enumerator (4.0.4): Cloning 5c9eeac41b from cache
  - Installing sebastian/global-state (5.0.7): Cloning bca7df1f32 from cache
  - Installing sebastian/exporter (4.0.6): Cloning 78c00df8f1 from cache
  - Installing sebastian/environment (5.1.5): Cloning 830c43a844 from cache
  - Installing sebastian/diff (4.0.6): Cloning ba01945089 from cache
  - Installing sebastian/comparator (4.0.8): Cloning fa0f136dd2 from cache
  - Installing sebastian/code-unit (1.0.8): Cloning 1fc9f64c09 from cache
  - Installing sebastian/cli-parser (1.0.2): Cloning 2b56bea83a from cache
  - Installing phpunit/php-timer (5.0.3): Cloning 5a63ce20ed from cache
  - Installing phpunit/php-text-template (2.0.4): Cloning 5da5f67fc9 from cache
  - Installing phpunit/php-invoker (3.1.1): Cloning 5a10147d0a from cache
  - Installing phpunit/php-file-iterator (3.0.6): Cloning cf1c2e7c20 from cache
  - Installing theseer/tokenizer (1.2.3): Cloning 737eda637e from cache
  - Installing nikic/php-parser (v5.3.1): Cloning 8eea230464 from cache
  - Installing sebastian/lines-of-code (1.0.4): Cloning e1e4a17056 from cache
  - Installing sebastian/complexity (2.0.3): Cloning 25f207c40d from cache
  - Installing sebastian/code-unit-reverse-lookup (2.0.3): Cloning ac91f01cce from cache
  - Installing phpunit/php-code-coverage (9.2.32): Cloning 85402a822d from cache
  - Installing phar-io/version (3.2.1): Cloning 4f7fd7836c from cache
  - Installing phar-io/manifest (2.0.4): Cloning 54750ef60c from cache
  - Installing myclabs/deep-copy (1.12.0): Cloning 3a6b9a42cd from cache
  - Installing doctrine/instantiator (2.0.0): Cloning c6222283fa from cache
  - Installing phpunit/phpunit (9.6.21): Cloning de6abf3b6f from cache
22 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
28 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]?
Коля любит 🧅 и ©
Изображение
ИзображениеИзображениеИзображение
Аватара пользователя
basn
Site Admin
 

Сообщения: 972
Зарегистрирован: 19 июн 2024, 03:05
Mood:
Контактная информация:

Re: #003 log install

Сообщение basn »

в файле composer.json в папке проекта
"codeigniter4/framework": "^4.0"
меняю на
"codeigniter4/framework": "4.4.8"

Код: Выделить всё

    "require": {
        "php": "^7.4 || ^8.0",
        "codeigniter4/framework": "^4.0"
    },
меняю на

Код: Выделить всё

    "require": {
        "php": "^7.4 || ^8.0",
    "codeigniter4/framework": "4.4.8"
    },
Коля любит 🧅 и ©
Изображение
ИзображениеИзображениеИзображение
Аватара пользователя
basn
Site Admin
 

Сообщения: 972
Зарегистрирован: 19 июн 2024, 03:05
Mood:
Контактная информация:

Re: #003 log install

Сообщение basn »

Код: Выделить всё

d:\webmaster\project-root>composer update -W
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires codeigniter4/framework 4.4.8 -> satisfiable by codeigniter4/framework[v4.4.8].
    - codeigniter4/framework v4.4.8 requires ext-intl * -> it is missing from your system. Install or enable PHP's intl extension.

To enable extensions, verify that they are enabled in your .ini files:
    - D:\webmaster\php\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-intl` to temporarily ignore these required extensions.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
перевод

Код: Выделить всё

d:\webmaster\project-root>composer update -W
Загрузка репозиториев композитора с информацией о пакетах
Обновление зависимостей
Ваши требования не могут быть удовлетворены с помощью устанавливаемого набора пакетов.

 Проблема 1
    - Корневой файл composer.json требует codeigniter4/framework 4.4.8 -> удовлетворяет требованиям codeigniter4/framework[v4.4.8].
    - codeigniter4/framework v4.4.8 требует ext-intl * -> его нет в вашей системе. Установите или включите расширение intl для PHP.

Чтобы включить расширения, убедитесь, что они включены в ваших файлах .ini:
    - D:\webmaster\php\php.ini
Вы также можете запустить `php --ini` в терминале, чтобы увидеть, какие файлы используются PHP в режиме командной строки.
В качестве альтернативы вы можете запустить Composer с параметром `--ignore-platform-req=ext-intl`, чтобы временно игнорировать эти необходимые расширения. 

Используйте параметр --with-all-dependencies (-W), чтобы разрешить обновление, понижение версии и удаление пакетов, которые в настоящее время привязаны к конкретным версиям.
результат в логе

Код: Выделить всё

d:\webmaster\project-root>composer update --ignore-platform-req=ext-intl
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 2 updates, 0 removals
  - Downgrading codeigniter4/framework (v4.5.5 => v4.4.8)
  - Downgrading psr/log (3.0.2 => 1.1.4)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 2 updates, 0 removals
  - Syncing psr/log (1.1.4) into cache
  - Syncing codeigniter4/framework (v4.4.8) into cache
  - Downgrading psr/log (3.0.2 => 1.1.4): Checking out d49695b909 from cache
  - Downgrading codeigniter4/framework (v4.5.5 => v4.4.8): Checking out 84ff359892 from cache
Generating optimized autoload files
28 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.

:!: :arrow: остановка тут: https://codeigniter.com/user_guide/inst ... .html#id11
папка проекта весит
папка проекта весит
2024-11-04_22-28-44.png (85.34 КБ) 1056 просмотров
перевод лога

Код: Выделить всё

d:\веб-мастер\корневой каталог проекта>composer update --ignore-platform-req=ext-intl
Загрузка репозиториев композитора с информацией о пакетах
Обновление зависимостей
Операции с файлом блокировки: 0 установок, 2 обновления, 0 удалений
  - Обновление codeigniter4/framework (v4.5.5 => v4.4.8)
  - Обновление psr/log (3.0.2 => 1.1.4)
Запись файла блокировки
Установка зависимостей из файла блокировки (включая require-dev)
Операции с пакетами: 0 установок, 2 обновления, 0 удалений
  - Синхронизация psr/log (1.1.4) в кэше
  - Синхронизация codeigniter4/framework (v4.4.8) в кэше
  - Обновление psr/log (3.0.2 => 1.1.4): проверка d49695b909 из кэша
  - Обновление codeigniter4/framework (v4.5.5 => v4.4.8): проверка 84ff359892 из кэша
Создание оптимизированных автозагрузочных файлов
28 пакетов, которые вы используете, нуждаются в финансировании.
Используйте команду `composer fund`, чтобы узнать больше!
Уязвимостей в системе безопасности не обнаружено.
Коля любит 🧅 и ©
Изображение
ИзображениеИзображениеИзображение
Аватара пользователя
basn
Site Admin
 

Сообщения: 972
Зарегистрирован: 19 июн 2024, 03:05
Mood:
Контактная информация:

composer fund

Сообщение basn »

Код: Выделить всё

d:\webmaster\project-root>composer fund
The following packages were found in your dependencies which publish funding information:

doctrine
  instantiator
    https://www.doctrine-project.org/sponsorship.html
    https://www.patreon.com/phpdoctrine
    https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator

laminas
  laminas-escaper
    https://funding.communitybridge.org/projects/laminas-project

myclabs
  deep-copy
    https://tidelift.com/funding/github/packagist/myclabs/deep-copy

phar-io
  manifest, version
    https://github.com/sponsors/theseer

phpunit
  php-code-coverage, php-file-iterator, php-invoker, php-text-template, php-timer, phpunit
    https://github.com/sponsors/sebastianbergmann
  phpunit
    https://phpunit.de/sponsors.html
    https://tidelift.com/funding/github/packagist/phpunit/phpunit

sebastian
  cli-parser, code-unit, code-unit-reverse-lookup, comparator, complexity, diff, environment, exporter, global-state, lines-of-code, object-enumerator, object-reflector, recursion-context, resource-operations, type, version
    https://github.com/sponsors/sebastianbergmann

symfony
  deprecation-contracts
    https://symfony.com/sponsor
    https://github.com/sponsors/fabpot
    https://tidelift.com/funding/github/packagist/symfony/symfony

theseer
  tokenizer
    https://github.com/sponsors/theseer

Please consider following these links and sponsoring the work of package authors!
Thank you!
:!: перевод

Код: Выделить всё

d:\веб-мастер\корневой каталог проекта>composer fund
В ваших зависимостях были обнаружены следующие пакеты, которые публикуют информацию о финансировании:

doctrine
  instantiator
    https://www.doctrine-project.org/sponsorship.html
    https://www.patreon.com/phpdoctrine
    https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator

laminas
  laminas-escaper
    https://funding.communitybridge.org/projects/laminas-project

myclabs
  глубокая копия
    https://tidelift.com/funding/github/packagist/myclabs/deep-copy

phar-io
  манифест, версия
    https://github.com/sponsors/theseer

phpunit
  охват кода PHP, итератор файлов PHP, вызыватель PHP, текстовый шаблон PHP, таймер PHP, phpunit
    https://github.com/sponsors/sebastianbergmann
  phpunit
    https://phpunit.de/sponsors.html
    https://tidelift.com/funding/github/packagist/phpunit/phpunit

sebastian
  cli-parser, единица кода, обратный поиск единиц кода, компаратор, сложность, разница, среда, экспортер, глобальное состояние, строки кода, перечислитель объектов, отражатель объектов, контекст рекурсии, операции с ресурсами, тип, версия
    https://github.com/sponsors/sebastianbergmann

symfony
  контракты устаревания
    https://symfony.com/sponsor
    https://github.com/sponsors/fabpot
    https://tidelift.com/funding/github/packagist/symfony/symfony

этикетки
  токенизатор
    https://github.com/sponsors/theseer

Пожалуйста, рассмотрите возможность перехода по этим ссылкам и спонсирования работы авторов пакетов!
Спасибо!
Коля любит 🧅 и ©
Изображение
ИзображениеИзображениеИзображение
Ответить