私はSymfonyアプリケーションをMicrosoft Azureに配備しようとしています。 サービスプラン、Appを作成しました。PHPがv5.6(私がローカルでアプリケーションを開発したこと)を確認し、php_intl.dll拡張子を追加し、Gitからプッシュしたファイルと、__ php -d extension = php_intl.dllベンダーの後にcomposer.phar install __がインストールされました。以下のエラーが出ます。私は雲Kuduコマンドコンソールでこのコマンドを実行します。Azureへの展開時にComposer.pharのインストールが完了しない
私は間違っていますか?どのように展開するのですか? Symfony.comのガイドは少し時代遅れですが、このステップまで私を得ました。
Generating autoload files
Deprecation Notice: The callback Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap declared at D:\home\site\wwwroot\vendor\sensio\distribution-bundle\Composer\ScriptHandler.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar://D:/home/site/wwwroot/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:290
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
Deprecation Notice: The callback Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache declared at D:\home\site\wwwroot\vendor\sensio\distribution-bundle\Composer\ScriptHandler.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar://D:/home/site/wwwroot/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:290The symfony-bin-dir (bin) specified in composer.json was not found in D:\home\site\wwwroot, can not clear the cache.
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
Deprecation Notice: The callback Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets declared at D:\home\site\wwwroot\vendor\sensio\distribution-bundle\Composer\ScriptHandler.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar://D:/home/site/wwwroot/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:290
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets
Deprecation Notice: The callback Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile declared at D:\home\site\wwwroot\vendor\sensio\distribution-bundle\Composer\ScriptHandler.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar://D:/home/site/wwwroot/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:290
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
The symfony-bin-dir (bin) specified in composer.json was not found in D:\home\site\wwwroot, can not install assets.
The symfony-bin-dir (bin) specified in composer.json was not found in D:\home\site\wwwroot, can not install the requirements files.
Deprecation Notice: The callback Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget declared at D:\home\site\wwwroot\vendor\sensio\distribution-bundle\Composer\ScriptHandler.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar://D:/home/site/wwwroot/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:290
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget
Composer.jsonファイル:
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-4": { "": "src/" },
"classmap": [ "app/AppKernel.php", "app/AppCache.php" ]
},
"autoload-dev": {
"psr-4": { "Tests\\": "tests/" }
},
"require": {
"php": ">=5.5.9",
"symfony/symfony": "3.0.*",
"doctrine/orm": "^2.5",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/doctrine-cache-bundle": "^1.2",
"symfony/swiftmailer-bundle": "^2.3",
"symfony/monolog-bundle": "^2.8",
"sensio/distribution-bundle": "^5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "^2.0",
"symfony/console": "^3.0",
"symfony/assetic-bundle": "^2.7",
"symfony/security": "^3.0",
"knplabs/knp-menu-bundle": "^2.1",
"twbs/bootstrap": "^3.3",
"gregwar/captcha-bundle": "^2.0",
"friendsofsymfony/rest-bundle": "^1.7",
"jms/serializer-bundle": "^1.1",
"ci/restclientbundle": "^1.0",
"eightpoints/guzzle-bundle": "^4.4",
"jasongrimes/paginator": "^1.0",
"knplabs/knp-paginator-bundle": "^2.5",
"liip/imagine-bundle": "^1.5",
"symfony/dependency-injection": "^3.0",
"sensio/generator-bundle": "^3.0",
"symfony/event-dispatcher": "^3.0",
"friendsofsymfony/jsrouting-bundle": "^1.6",
"league/oauth2-client": "^1.4",
"league/oauth2-facebook": "^1.4"
},
"require-dev": {
"symfony/phpunit-bridge": "^2.7"
},
"scripts": {
"post-install-cmd": [
"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::prepareDeploymentTarget"
],
"post-update-cmd": [
"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::prepareDeploymentTarget"
]
},
"extra": {
"symfony-app-dir": "app",
"symfony-bin-dir": "bin",
"symfony-var-dir": "var",
"symfony-web-dir": "web",
"symfony-tests-dir": "tests",
"symfony-assets-install": "relative",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
},
"branch-alias": {
"dev-master": "3.0-dev"
}
}
}
コンポーザをローカルにインストールするときにエラーが表示されない場合は意味がありますか?その間にjsonもチェックします –
composer.jsonファイルを提供できますか? – OlivierC
phpinfoも提供できますか? – OlivierC