AWS elastic beanstalk 上默认安装了哪些 php 扩展?
What default php extensions installed on AWS elastic beanstalk?
我需要知道默认情况下 AWS elastic beanstalk php 平台上安装了哪些扩展,但亚马逊的文档中似乎没有提供此信息(除了模糊的措辞说一些默认安装扩展)。
有谁知道在哪里可以获得这些信息,或者,如果不知道,我该如何自己弄清楚?
我是运行 AWS elastic beanstalk 平台PHP 7.1.32
我遇到了同样的问题,我无法在任何地方找到任何官方信息,所以我最终只是通过 ssh 连接到 elastic beanstalk 创建的 ec2 实例和 运行 正确的命令来确定默认安装 php 个扩展。
我按照这个答案通过 ssh 进入了 ec2 实例:
然后我 运行 php -r "print_r(get_loaded_extensions());"
在 ec2 实例上。
这给了我所有安装的默认扩展的列表,特别是针对 AWS 提供的 "PHP 7.1 running on 64bit Amazon Linux/2.6.1" 平台。
Array
(
[0] => Core
[1] => date
[2] => libxml
[3] => openssl
[4] => pcre
[5] => zlib
[6] => filter
[7] => hash
[8] => pcntl
[9] => readline
[10] => Reflection
[11] => SPL
[12] => session
[13] => standard
[14] => bcmath
[15] => bz2
[16] => calendar
[17] => ctype
[18] => curl
[19] => dom
[20] => mbstring
[21] => fileinfo
[22] => ftp
[23] => gd
[24] => gettext
[25] => iconv
[26] => intl
[27] => json
[28] => exif
[29] => mcrypt
[30] => mysqlnd
[31] => odbc
[32] => PDO
[33] => pgsql
[34] => Phar
[35] => posix
[36] => shmop
[37] => SimpleXML
[38] => soap
[39] => sockets
[40] => sqlite3
[41] => sysvmsg
[42] => sysvsem
[43] => sysvshm
[44] => tokenizer
[45] => xml
[46] => xmlwriter
[47] => xsl
[48] => zip
[49] => mysqli
[50] => pdo_mysql
[51] => PDO_ODBC
[52] => pdo_pgsql
[53] => pdo_sqlite
[54] => wddx
[55] => xmlreader
[56] => xmlrpc
[57] => apcu
[58] => igbinary
[59] => imagick
[60] => memcache
[61] => OAuth
[62] => ssh2
[63] => memcached
[64] => Zend OPcache
)
我需要知道默认情况下 AWS elastic beanstalk php 平台上安装了哪些扩展,但亚马逊的文档中似乎没有提供此信息(除了模糊的措辞说一些默认安装扩展)。
有谁知道在哪里可以获得这些信息,或者,如果不知道,我该如何自己弄清楚?
我是运行 AWS elastic beanstalk 平台PHP 7.1.32
我遇到了同样的问题,我无法在任何地方找到任何官方信息,所以我最终只是通过 ssh 连接到 elastic beanstalk 创建的 ec2 实例和 运行 正确的命令来确定默认安装 php 个扩展。
我按照这个答案通过 ssh 进入了 ec2 实例:
然后我 运行 php -r "print_r(get_loaded_extensions());"
在 ec2 实例上。
这给了我所有安装的默认扩展的列表,特别是针对 AWS 提供的 "PHP 7.1 running on 64bit Amazon Linux/2.6.1" 平台。
Array
(
[0] => Core
[1] => date
[2] => libxml
[3] => openssl
[4] => pcre
[5] => zlib
[6] => filter
[7] => hash
[8] => pcntl
[9] => readline
[10] => Reflection
[11] => SPL
[12] => session
[13] => standard
[14] => bcmath
[15] => bz2
[16] => calendar
[17] => ctype
[18] => curl
[19] => dom
[20] => mbstring
[21] => fileinfo
[22] => ftp
[23] => gd
[24] => gettext
[25] => iconv
[26] => intl
[27] => json
[28] => exif
[29] => mcrypt
[30] => mysqlnd
[31] => odbc
[32] => PDO
[33] => pgsql
[34] => Phar
[35] => posix
[36] => shmop
[37] => SimpleXML
[38] => soap
[39] => sockets
[40] => sqlite3
[41] => sysvmsg
[42] => sysvsem
[43] => sysvshm
[44] => tokenizer
[45] => xml
[46] => xmlwriter
[47] => xsl
[48] => zip
[49] => mysqli
[50] => pdo_mysql
[51] => PDO_ODBC
[52] => pdo_pgsql
[53] => pdo_sqlite
[54] => wddx
[55] => xmlreader
[56] => xmlrpc
[57] => apcu
[58] => igbinary
[59] => imagick
[60] => memcache
[61] => OAuth
[62] => ssh2
[63] => memcached
[64] => Zend OPcache
)