1

刚刚尝试在 TYPO3 CMS 7.6.10 安装中安装 TYPO3 Surf,但没有成功。

C:\xampp\htdocs\typo3_src-7.6.10>composer require typo3/surf=dev-master
./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
    - Installation request for typo3/surf dev-master -> satisfiable by typo3/surf[dev-master].
    - typo3/surf dev-master requires symfony/console ^2.8|^3.0 -> satisfiable by symfony/console[2.8.x-dev, 3.0.x-dev, 3.1.x-dev, 3.2.x-dev, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.0-BETA1, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.0-BETA1, v3.1.0-RC1, v3.1.1, v3.1.2, v3.1.3] but these conflict with your requirements or minimum-stability.


Installation failed, reverting ./composer.json to its original content.
4

3 回答 3

3

目前没有实际使用 surf,请查看最新的测试版,因为现在使用的是 phar 文件。所以你不需要任何作曲家安装,你不会遇到你现在遇到的那些麻烦。

查看https://github.com/TYPO3/Surf/releases

于 2016-08-10T18:30:07.343 回答
2

目前仅适用于 TYPO3 CMS 8 及更新版本。

TYPO3 CMS 7 使用旧版本的symfony/console.

    {
      "repositories": [
        {
          "type": "composer",
          "url": "https://composer.typo3.org/"
        }
      ],
      "name": "markussom/creativeworkspace",
      "require": {
        "typo3/cms": "8.3.1 as 7.6.10",
        "typo3/cms-beuser": "^8.3",
        "typo3/cms-fluid-styled-content": "^8.3",
        "typo3/cms-filelist": "^8.3",
        "typo3/cms-impexp": "^8.3",
        "typo3/cms-lowlevel": "^8.3",
        "typo3/cms-rsaauth": "^8.3",
        "typo3/cms-rtehtmlarea": "^8.3",
        "typo3/cms-filemetadata": "^8.3",
        "typo3/cms-setup": "^8.3",
        "typo3/cms-tstemplate": "^8.3",
        "typo3/cms-viewpage": "^8.3",
        "typo3-ter/news": "^5.0.0",
        "typo3-ter/realurl": "^2.0.14",
        "helhum/typo3-console": "^3.3.1"
      },
      "scripts": {
        "package-states": [
          "./vendor/bin/typo3cms install:generatepackagestates"
        ],
        "folder-structure": [
          "./vendor/bin/typo3cms install:fixfolderstructure"
        ],
        "post-autoload-dump": [
          "@package-states",
          "@folder-structure"
        ]
      },
      "extra": {
        "typo3/cms": {
          "cms-package-dir": "{$vendor-dir}/typo3/cms",
          "web-dir": "Web"
        },
        "helhum/typo3-console": {
          "install-binary": false
        }
      }
      "require-dev": {
        "typo3/cms-belog": "^8.3",
        "typo3/cms-info": "^8.3",
        "typo3/cms-reports": "^8.3",
        "typo3/cms-info-pagetsconfig": "^8.3",
        "TYPO3/Surf": "dev-master"
      },
      "config": {
        "optimize-autoloader": true
      }
    }
于 2016-09-27T07:26:33.380 回答
0

自从提出这个问题以来,为了在最近一段时间内继续提供替代方案,有很多人开始转向 Docker,而我知道如何做到这一点的最简单方法是 TYPO3 是使用 DDEV,它是开放的资源。目前 DDEV Live 的开源版本尚不可用,但我们正在使用 DDEV Local 进行所有本地开发,并且他们说 Live 应该很快就会出现。还有直接从 DRUD 获得的 DDEV Live,这将是一个托管解决方案,虽然我还没有亲自使用它,但听起来它是一个非常强大的设置。

于 2018-12-16T03:19:53.370 回答