title: Unable to install php-mysqli on PHP7
body: <p>I have installed PHP 7, mysql5.7, Apache2.2, CentOS6.</p>
  
  <p>And I'm installing CodeIgniter3.0.6.</p>
  
  <p>When I use database connection,
  error occured and said</p>
  
  <pre><code>A PHP Error was encountered
  
  Severity: Core Warning
  
  Message: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mysqli.so' - /usr/lib64/php/modules/php_mysqli.so: cannot open shared object file: No such file or directory
  
  Filename: Unknown
  
  Line Number: 0
  </code></pre>
  
  <p>Of course there are no files in '/usr/lib64/php/modules/php_mysqli.so', but I don't know how to install mysqli.so.</p>
  
  <p>I tried </p>
  
  <pre><code>yum install php-mysql
  </code></pre>
  
  <p>but </p>
  
  <pre><code>Loaded plugins: fastestmirror, security
  Setting up Install Process
  Loading mirror speeds from cached hostfile
   * base: ftp.iij.ad.jp
   * epel: ftp.riken.jp
   * extras: ftp.iij.ad.jp
   * remi-safe: mirror.awanti.com
   * updates: ftp.iij.ad.jp
  Resolving Dependencies
  --&gt; Running transaction check
  ---&gt; Package php-mysql.x86_64 0:5.3.3-46.el6_7.1 will be installed
  --&gt; Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_7.1 for package: php-mysql-5.3.3-46.el6_7.1.x86_64
  --&gt; Finished Dependency Resolution
  Error: Package: php-mysql-5.3.3-46.el6_7.1.x86_64 (updates)
             Requires: php-common(x86-64) = 5.3.3-46.el6_7.1
             Installed: php-common-7.0.4-1.el6.remi.x86_64 (@remi-php70)
                 php-common(x86-64) = 7.0.4-1.el6.remi
             Available: php-common-5.3.3-40.el6_6.x86_64 (base)
                 php-common(x86-64) = 5.3.3-40.el6_6
             Available: php-common-5.3.3-46.el6_6.x86_64 (updates)
                 php-common(x86-64) = 5.3.3-46.el6_6
             Available: php-common-5.3.3-46.el6_7.1.x86_64 (updates)
                 php-common(x86-64) = 5.3.3-46.el6_7.1
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest
  </code></pre>
  
  <p>and it didn't work.</p>
  
  <hr>
  
  <p>when I execute <code>yum install php7.0-mysql</code> or <code>yum install php70w-mysql</code> command,</p>
  
  <pre><code>Loaded plugins: fastestmirror, security
  Setting up Install Process
  Loading mirror speeds from cached hostfile
   * base: ftp.iij.ad.jp
   * epel: ftp.riken.jp
   * extras: ftp.iij.ad.jp
   * remi-safe: mirror.awanti.com
   * updates: ftp.iij.ad.jp
  No package php7.0-mysql available.
  Error: Nothing to do
  </code></pre>
  
  <p>I don't know what to do at all.</p>