1 回答
TA贡献1895条经验 获得超3个赞
我遇到了同样的问题,我无法在任何地方找到任何官方信息,所以我最终只是ssh-ing到elastic Beanstalk创建的ec2实例中,并运行正确的命令来确定默认安装的php扩展。
我按照这个答案将ssh放入ec2实例:https://stackoverflow.com/a/4921866/8137812
然后我在ec2实例上运行。php -r "print_r(get_loaded_extensions());"
这给了我所有已安装的默认扩展的列表,特别是针对AWS提供的“在64位Amazon Linux / 2.6.1上运行的PHP 7.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
)
- 1 回答
- 0 关注
- 92 浏览
添加回答
举报