title: How do i check mysql database extension enable/disable on server in php?
body: <p>I am working on a PHP install script, and I need to check many server settings before installing applications there.</p>
  
  <p>So, how do I check the mysql database extension if it is enabled/disabled on client's server using PHP?</p>
  
  <p>And I also need to check following extensions <code>Encryption</code> , <code>Zip Archive</code> whether they are installed on the server or not.</p>
  
  <p>Please suggest a way to check these settings.</p>