title: How do I install the MySQL extension for PHP 7 on CentOS 8?
body: <p>I was trying to install WordPress on my CentOS 8 server today when I received this error:</p>
  <p>&quot;Your PHP installation appears to be missing the MySQL extension which is required by WordPress.&quot;</p>
  <p>I understand that this extension has been removed in PHP 7 and above.</p>
  <p>I've tried both of the following:</p>
  <pre><code>  sudo yum update
    sudo yum install php70w-mysql
    sudo yum install php-mysql
  </code></pre>
  <p>However, I receive the following message:</p>
  <pre><code> No match for argument: php70w-mysql
   Error: Unable to find a match: php70w-mysql
  </code></pre>
  <p>or</p>
  <pre><code>   No match for argument: php-mysql
     Error: Unable to find a match: php-mysql
  </code></pre>
  <p>Please let me know how I can get this MySQL extension installed.</p>
  <p>Thanks for your help!</p>