tp5安装workerman

xiaoxiao2021-02-28  93

首先先安装composer;然后再运行tp5文档中的命令;快捷键打开命令:先找到要安装的项目的文件夹,按住shift然后鼠标右键,打开命令窗口即可; D:\phpStudy\WWW\bestonapp>composer require topthink/think-worker Using version ^1.0 for topthink/think-worker ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.   Problem 1     - symfony/yaml v3.2.2 requires php >=5.5.9 -> your PHP version (5.4.45) does  not satisfy that requirement.     - symfony/yaml v3.2.2 requires php >=5.5.9 -> your PHP version (5.4.45) does  not satisfy that requirement.     - symfony/yaml v3.2.2 requires php >=5.5.9 -> your PHP version (5.4.45) does  not satisfy that requirement.     - Installation request for symfony/yaml (locked at v3.2.2) -> satisfiable by  symfony/yaml[v3.2.2]. Installation failed, reverting ./composer.json to its original content. D:\phpStudy\WWW\bestonapp>composer require google/apiclient:^2.0 ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.   Problem 1     - symfony/yaml v3.2.2 requires php >=5.5.9 -> your PHP version (5.4.45) does  not satisfy that requirement.     - symfony/yaml v3.2.2 requires php >=5.5.9 -> your PHP version (5.4.45) does  not satisfy that requirement.     - symfony/yaml v3.2.2 requires php >=5.5.9 -> your PHP version (5.4.45) does  not satisfy that requirement.     - Installation request for symfony/yaml (locked at v3.2.2) -> satisfiable by  symfony/yaml[v3.2.2]. Installation failed, reverting ./composer.json to its original content. D:\phpStudy\WWW\bestonapp>composer update Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 2 installs, 0 updates, 34 removals   - Removing phpexcel/phpexcel (v1.7.7)   - Removing topthink/think-testing (v1.0.6)   - Removing phpunit/phpunit (4.8.32)   - Removing phpspec/prophecy (v1.6.2)   - Removing webmozart/assert (1.2.0)   - Removing phpunit/php-code-coverage (2.2.4)   - Removing phpunit/php-token-stream (1.4.9)   - Removing phpunit/php-file-iterator (1.4.2)   - Removing phpunit/php-timer (1.0.8)   - Removing phpunit/phpunit-mock-objects (2.3.8)   - Removing phpunit/php-text-template (1.2.1)   - Removing doctrine/instantiator (1.0.5)   - Removing sebastian/comparator (1.2.2)   - Removing sebastian/diff (1.4.1)   - Removing sebastian/environment (1.3.8)   - Removing sebastian/exporter (1.2.2)   - Removing sebastian/recursion-context (1.0.2)   - Removing sebastian/global-state (1.1.1)   - Removing sebastian/version (1.0.6)   - Removing symfony/dom-crawler (v2.8.16)   - Removing symfony/polyfill-mbstring (v1.3.0)   - Removing topthink/think-queue (v1.1.2)   - Removing topthink/think-helper (v1.0.5)   - Removing topthink/think-sae (v1.1)   - Removing topthink/think-angular (1.0.9)   - Removing topthink/think-migration (v1.0.6)   - Removing topthink/think-mongo (v1.2)   - Removing topthink/think-captcha (v1.0.7)   - Removing topthink/think-image (v1.0.7)   - Removing topthink/think-installer (v1.0.11)   - Removing phpdocumentor/reflection-docblock (3.1.1)   - Removing phpdocumentor/type-resolver (0.2.1)   - Removing phpdocumentor/reflection-common (1.0)   - Removing symfony/yaml (v3.2.2)   - Installing workerman/workerman-for-win (v3.3.90): Downloading (connecting... Downloading (100%)   - Installing workerman/workerman (v3.4.2): Downloading (100%) workerman/workerman suggests installing ext-event (For better performance.) Writing lock file Generating autoload files D:\phpStudy\WWW\bestonapp>composer require topthink/think-worker Using version ^1.0 for topthink/think-worker ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating autoload files D:\phpStudy\WWW\bestonapp>composer require workerman/workerman-for-win Using version ^3.3 for workerman/workerman-for-win ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating autoload files D:\phpStudy\WWW\bestonapp>
转载请注明原文地址: https://www.6miu.com/read-17367.html

最新回复(0)