Using regex to find main PHP extension_dir to derive xdebug path