环境变量 Key | 具体值或值来源 |
PHP_INI_SCAN_DIR | /opt/php_extension:/var/user/php_extension |
环境变量 Key | 具体值或值来源 |
PHP_INI_SCAN_DIR | /var/user/php_extension:/opt/php_extension |
print_r(get_loaded_extensions());
代码打印查看已安装的扩展。PHP 版本 | 扩展列表 |
PHP 8.0、 PHP 7.4 | 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 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 |
本页内容是否解决了您的问题?