Running directly php -m from the console won't run same php as the website does, these are completely different phps.
Inside the client web interface under the left side menu check what php version is set by default.
Then go to admin web interface and via the php selectors rebuild that version (be sure needed modules are checked on the [Options List] of the the version you need to rebuild.