Я пытаюсь развернуть приложение Laravel на облачной платформе Google с помощью командной строки gcloud app deploy.
Я следил за каждым шагом этого https://cloud.google.com/community/tutorials/run-laravel-on-appengine-flexible
Вот несколько журналов:
Step #1: Using PHP version: 7.2
Step #1: Install PHP extensions...
Step #1: Running composer...
Step #1: Key post-install-cmd is a duplicate in ./composer.json at line 71
Step #1: Loading composer repositories with package information
Step #1: Installing dependencies from lock file
Step #1: Your requirements could not be resolved to an installable set of packages.
Step #1:
Step #1: Problem 1
Step #1: - Installation request for phpoffice/phpspreadsheet 1.7.0 -> satisfiable by phpoffice/phpspreadsheet[1.7.0].
Step #1: - phpoffice/phpspreadsheet 1.7.0 requires ext-gd * -> the requested PHP extension gd is missing from your system.
Step #1: Problem 2
Step #1: - phpoffice/phpspreadsheet 1.7.0 requires ext-gd * -> the requested PHP extension gd is missing from your system.
Step #1: - maatwebsite/excel 3.1.13 requires phpoffice/phpspreadsheet ^1.6 -> satisfiable by phpoffice/phpspreadsheet[1.7.0].
Step #1: - Installation request for maatwebsite/excel 3.1.13 -> satisfiable by maatwebsite/excel[3.1.13].
Step #1:
Step #1: To enable extensions, verify that they are enabled in your .ini files:
Step #1: - /opt/php72/lib/php-cli.ini
Step #1: - /opt/php72/lib/ext.enabled/ext-apcu-bc.ini
Step #1: - /opt/php72/lib/ext.enabled/ext-mailparse.ini
Step #1: - /opt/php72/lib/ext.enabled/ext-memcached.ini
Step #1: You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Step #1: error building image: error building stage: waiting for process to exit: exit status 2
Finished Step #1
- Я на Windows 10 и использую Google SDK для развертывания.
- Я использую wamp64. Я пытался раскомментировать
extension=gd2
в каждом php.ini, который есть на моем компьютере
- Вот ссылка моей конфигурации PHP
- Я следую за этим , но это не сработало.
Я пытаюсь использовать gcloud app deploy
с Google SDK для развертывания моего приложения Laravel 5.5 в Bucket для моего App Engine на Google Cloud Platform.