Which PHP Modules are available on shared hosting
Ashish
Last Update há 2 anos
As we support multiple versions of PHP, each version can differ slightly in what PHP modules they support. Further below is a list of all the PHP versions we support on our shared hosting platform along with the modules that are installed for them.
However, there are also a couple of ways to check PHP modules yourself as well.
Checking modules using a PHPinfo file
You could create a PHPinfo file within the hosting which will show this information. To do this you would need to:
- Create a new PHP file, such as info.php, where your website files are hosted.
- Add the following code to the file:
3. Access the file directly in a browser (e.g., domain.com/info.php). This page will show off a lot of information about the current PHP version you have set on the hosting package.
Security Note: PHPinfo files can expose sensitive information. It's advisable to delete the PHPinfo file after checking your PHP version.
Checking modules using SSH
If you connect to the package using SSH then you can run a command to check the modules on any version of PHP you would like. An example of that command is:
php83 -m
This would show a list of all the modules for PHP 8.1. If you want to check a different version then you only need to change the number to the PHP version you wish to check.
Supported Modules
Below is a list of modules for all of the PHP versions we currently support on our shared hosting platform:
[PHP Modules] bcmath bz2 calendar Core ctype curl date dba dom exif FFI fileinfo filter ftp gd gettext gmp hash iconv imagick imap intl json ldap libxml mbstring mysqli mysqlnd OAuth odbc openssl pcntl pcre PDO pdo_dblib PDO_Firebird pdo_mysql PDO_ODBC pdo_pgsql pdo_sqlite pdo_sqlsrv pgsql Phar posix pspell random readline Reflection session shmop SimpleXML snmp soap sockets sodium SPL sqlite3 sqlsrv standard sysvmsg sysvsem sysvshm tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl Zend OPcache zip zlib [Zend Modules] Zend OPcache
