I am working on a PHP install script, and I need to check many server settings before installing applications there.
So, how do I check the mysql database extension if it is enabled/disabled on client’s server using PHP?
And I also need to check following extensions Encryption , Zip Archive whether they are installed on the server or not.
Please suggest a way to check these settings.
Just execute this:
If it returns
true, then the extension is loaded.