tencent cloud

피드백

Runtime Environment

마지막 업데이트 시간:2022-06-27 16:40:27

    PHP Version Selection

    Currently, SCF supports the following versions of PHP programming language:

    • PHP 8.0
    • PHP 7.4
    • PHP 7.2
    • PHP 5.6

    You can choose a desired runtime environment when creating a function, such as PHP 8.0, 7.4, 7.2, or 5.6.

    Environment Variables

    The PHP environment variables built in the current PHP 8.0 and 7.4 runtime environments are as shown in the table below:

    Environment Variable Key Specific Value or Value Source
    PHP_INI_SCAN_DIR /opt/php_extension:/var/user/php_extension

    The PHP environment variables built in the current PHP 7.2 and 5.6 runtime environments are as shown in the table below:

    Environment Variable Key Specific Value or Value Source
    PHP_INI_SCAN_DIR /var/user/php_extension:/opt/php_extension

    For more information on environment variables, see Environment Variables.

    List of Built-in Extensions

    Note:

    • For PHP 7.4 and later, the platform no longer has additional built-in dependency libraries. For more information on the dependencies required by code execution, see Dependency Installation.
    • If the built-in extensions cannot meet your business requirements, you can install custom extensions as instructed in Dependency Installation.
      You can print and view the installed extensions at any time by using the print_r(get_loaded_extensions()); code.

    The currently installed PHP extensions are listed below:

    • PHP 8.0、PHP 7.4
    • Core
    • runkit7
    • date
    • libxml
    • openssl
    • pcre
    • sqlite3
    • zlib
    • bcmath
    • calendar
    • ctype
    • curl
    • dom
    • hash
    • fileinfo
    • filter
    • ftp
    • gd
    • SPL
    • iconv
    • intl
    • json
    • mbstring
    • session
    • standard
    • mysqlnd
    • PDO
    • pdo_mysql
    • pdo_sqlite
    • Phar
    • posix
    • Reflection
    • mysqli
    • SimpleXML
    • soap
    • exif
    • tokenizer
    • xml
    • xmlreader
    • xmlwriter
    • runtime
    • PHP 7.2
    • Core
    • runkit7
    • date
    • libxml
    • openssl
    • pcre
    • sqlite3
    • zlib
    • bcmath
    • bz2
    • calendar
    • ctype
    • curl
    • dom
    • hash
    • fileinfo
    • filter
    • ftp
    • gd
    • SPL
    • iconv
    • json
    • mbstring
    • session
    • standard
    • mysqlnd
    • PDO
    • pdo_mysql
    • pdo_sqlite
    • Phar
    • posix
    • Reflection
    • mysqli
    • SimpleXML
    • soap
    • sockets
    • exif
    • tidy
    • tokenizer
    • xml
    • xmlreader
    • xmlwriter
    • zip
    • eio
    • memcached
    • imagick
    • mongodb
    • protobuf
    • redis
    • swoole
    • Zend OPcache
    • runtime
    • PHP 5.6
    • Core
    • runkit
    • date
    • ereg
    • libxml
    • openssl
    • pcre
    • sqlite3
    • zlib
    • bcmath
    • bz2
    • calendar
    • ctype
    • curl
    • dom
    • hash
    • fileinfo
    • filter
    • ftp
    • gd
    • SPL
    • iconv
    • json
    • mbstring
    • session
    • standard
    • mysqlnd
    • PDO
    • pdo_mysql
    • pdo_sqlite
    • Phar
    • posix
    • Reflection
    • mysqli
    • SimpleXML
    • soap
    • sockets
    • exif
    • tidy
    • tokenizer
    • xml
    • xmlreader
    • xmlwriter
    • zip
    • eio
    • memcached
    • imagick
    • mongodb
    • protobuf
    • redis
    • Zend OPcache
    • runtime
    문의하기

    고객의 업무에 전용 서비스를 제공해드립니다.

    기술 지원

    더 많은 도움이 필요하시면, 티켓을 통해 연락 바랍니다. 티켓 서비스는 연중무휴 24시간 제공됩니다.

    연중무휴 24시간 전화 지원