Skip to content

wordpress应用部署后scf_bootstrap脚本里使用/opt/bin/php有误,应该使用/var/lang/php7/bin/php #195

@volume-ji

Description

@volume-ji

使用wordpress的demo,默认云函数使用的php7.2的运行时,但是scf_bootstrap里使用的运行时二进制是/opt/bin/php,php版本不对,并且缺少官网里的很多扩展,需要修改为/var/lang/php7/bin/php
php文档:https://cloud.tencent.com/document/product/583/17531
scf_bootstrap启动文件说明:https://cloud.tencent.com/document/product/583/56126
demo部署后scf_bootstrap信息如截图:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions