Я пытаюсь установить новый проект Symfony 2.Все в порядке, только когда я иду на домашнюю страницу, это появляется (php, кажется, не интерпретируется):
unregister ();$ ApcLoader-> регистр (истина);* / require_once DIR . '/ .. / app / AppKernel.php';// require_once DIR . '/ .. / app / AppCache.php';$ kernel = new AppKernel ('prod', false);$ Kernel-> loadClassCache ();// $ kernel = new AppCache ($ kernel);$ request = Request :: createFromGlobals ();$ response = $ kernel-> handle ($ request);$ Response-> отправить ();$ kernel-> terminate ($ request, $ response);
Когда я делаю
composer require symfony/requirements-checker
Без ошибок.
Только когда я
composer require doctrine/orm
Появляется эта ошибка:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- akeneo/pim-community-dev v1.6.22 requires doctrine/orm 2.4.7 -> satisfiable by doctrine/orm[v2.4.7] but these conflict with your requirements or minimum-stability.
- akeneo/pim-community-dev v1.6.22 requires doctrine/orm 2.4.7 -> satisfiable by doctrine/orm[v2.4.7] but these conflict with your requirements or minimum-stability.
- akeneo/pim-community-dev v1.6.22 requires doctrine/orm 2.4.7 -> satisfiable by doctrine/orm[v2.4.7] but these conflict with your requirements or minimum-stability.
- Installation request for akeneo/pim-community-dev (locked at v1.6.22, required as ~1.6.22) -> satisfiable by akeneo/pim-community-dev[v1.6.22].
Мой композитор.json:
{
"name": "akeneo/pim-community-standard",
"description": "The \"Akeneo Community Standard Edition\" distribution",
"license": "OSL-3.0",
"type": "project",
"authors": [
{
"name": "Akeneo",
"homepage": "http://www.akeneo.com"
}
],
"autoload": {
"psr-0": {
"": "src/",
"Context": "features/"
},
"psr-4": {
"Pim\\Upgrade\\": "upgrades/"
}
},
"require": {
"akeneo/pim-community-dev": "~1.6.22",
"symfony/requirements-checker": "^1.1"
},
"require-dev": {
"doctrine/migrations": "1.2.2",
"doctrine/doctrine-migrations-bundle": "1.1.0"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/akeneo/pim-community-dev.git",
"branch": "master"
}
],
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget",
"php app/console fos:js-routing:dump --target=web/js/routes.js"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget",
"php app/console fos:js-routing:dump --target=web/js/routes.js",
"Pim\\Bundle\\InstallerBundle\\ComposerScripts::copyUpgradesFiles"
]
},
"config": {
"bin-dir": "bin"
},
"minimum-stability": "stable",
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"symfony-assets-install": "relative",
"incenteev-parameters": {
"keep-outdated": true,
"file": "app/config/parameters.yml",
"env-map": {
"database_host": "PIM_DATABASE_HOST",
"database_port": "PIM_DATABASE_PORT",
"database_name": "PIM_DATABASE_NAME",
"database_user": "PIM_DATABASE_USER",
"database_password": "PIM_DATABASE_PASSWORD"
}
},
"branch-alias": {
"dev-master": "1.7.x-dev",
"dev-1.6": "1.6.x-dev",
"dev-1.5": "1.5.x-dev",
"dev-1.4": "1.4.x-dev",
"dev-1.3": "1.3.x-dev",
"dev-1.2": "1.2.x-dev",
"dev-1.1": "1.1.x-dev",
"dev-1.0": "1.0.x-dev"
}
}
}