簡體   English   中英

Azure Web App Mcrypt安裝

[英]Azure Web App Mcrypt Installation

我正在嘗試使用git將我的Laravel應用程序部署到Azure。 我已經為我的應用安裝了以下擴展程序;

作曲家0.3.2 PHP7 x86(Laravel)0.0.2 Php管理器1.2.0 phpMyAdmin 4.5.3.1

但是,當我推送應用程序時,出現以下錯誤;

> php artisan clear-compiled
remote: Script php artisan clear-compiled handling the post-install-cmd event returned with an error
remote: 
remote:                       
remote:   [RuntimeException]  
remote:   Error Output:       
remote:                       
remote: 
remote: install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...
remote: 
remote: {"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class 'Way\\Generators\\GeneratorsServiceProvider' not found","file":"D:\\home\\repository\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\ProviderRepository.php","line":157}}An error has occurred during web site deployment.
remote: 
remote: Error - Changes committed to remote repository but deployment to website failed.
To https://mburakergenc@larabook.scm.azurewebsites.net:443/larabook.git
 * [new branch]      master -> master

我相信mcrypt未隨php一起安裝,這會導致錯誤。 但是我不知道如何在Azure的Windows服務器上安裝mcrypt。

最后,我從composer.json文件中刪除了腳本部分,並且部署成功。 但是我不知道這種解決方案是否足夠。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM