If you’d like to check your loaded extensions on a Linux machine, create a PHP file with this line:
print_r(get_loaded_extensions());
If the file where named print_extensions.php, save and run your file from the command line:
php print_extensions.php
That’s it. This is how you can check the extensions loaded on your Linux server.