You can check the enabled PHP extensions using the following methods:
1. Using phpinfo() (Displays all PHP configuration details)
phpinfo();
2. Using get_loaded_extensions() (Returns an array of enabled extensions)
print_r(get_loaded_extensions());
3. Using CLI Command
php -m