dstnlhhv791576 2018-10-09 19:50
浏览 135

缺少Gcloud PHP72扩展intl

If I follow the following docs: - https://cloud.google.com/community/tutorials/run-symfony-on-appengine-flexible

I have my app.yaml as following:

runtime: php
env: flex

runtime_config:
  document_root: web
  front_controller_file: app.php

env_variables:
  APP_ENV: "prod"

But I get the following error:

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 league/uri 5.3.0 -> satisfiable by league/uri[5.3.0].
Step #1:     - league/uri 5.3.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
Step #1:   Problem 2
Step #1:     - Installation request for league/uri-components 1.8.1 -> satisfiable by league/uri-components[1.8.1].
Step #1:     - league/uri-components 1.8.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
Step #1:   Problem 3
Step #1:     - Installation request for league/uri-hostname-parser 1.1.1 -> satisfiable by league/uri-hostname-parser[1.1.1].
Step #1:     - league/uri-hostname-parser 1.1.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
Step #1:   Problem 4
Step #1:     - Installation request for league/uri-manipulations 1.5.0 -> satisfiable by league/uri-manipulations[1.5.0].
Step #1:     - league/uri-manipulations 1.5.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
Step #1:   Problem 5
Step #1:     - Installation request for sylius/sylius v1.2.6 -> satisfiable by sylius/sylius[v1.2.6].
Step #1:     - sylius/sylius v1.2.6 requires ext-exif * -> the requested PHP extension exif is missing from your system.
Step #1:   Problem 6
Step #1:     - sylius/sylius v1.2.6 requires ext-exif * -> the requested PHP extension exif is missing from your system.
Step #1:     - stefandoorn/sitemap-plugin v1.0.10 requires sylius/sylius ^1.0 -> satisfiable by sylius/sylius[v1.2.6].
Step #1:     - Installation request for stefandoorn/sitemap-plugin v1.0.10 -> satisfiable by stefandoorn/sitemap-plugin[v1.0.10].
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: The command '/bin/sh -c /build-scripts/composer.sh' returned a non-zero code: 2
Finished Step #1

But, according to the docs: (https://cloud.google.com/appengine/docs/standard/php7/runtime) these extensions are enabled by defulat?

I have already tried to add a php.ini file to my root folder and putting the following inside it:

extension=intl.so

But that didn't work.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 安卓adb backup备份应用数据失败
    • ¥15 eclipse运行项目时遇到的问题
    • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
    • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
    • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
    • ¥50 成都蓉城足球俱乐部小程序抢票
    • ¥15 yolov7训练自己的数据集
    • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
    • ¥15 电力市场出清matlab yalmip kkt 双层优化问题
    • ¥30 ros小车路径规划实现不了,如何解决?(操作系统-ubuntu)