I need a way to find all the available PHP extensions whether they are loaded or not. I looked at How do I see the extensions loaded by PHP? but it only explains h
One way is to check the 'extension_dir' value:
phpinfo();
Then scan the directory to see the files:
$exts = scandir("/usr/lib/php5/extension_dir/"); print_r($exts);