title: PHP won't load pdo_mysql extension on Fedora 25
body: <p>After a little toying around with my FreePBX install on F25, I seem to have broken it, and can't get pdo_mysql to load:</p>
  
  <pre><code>[root@freepbx-localdomain freepbx] # /usr/bin/env php -m | grep -i pdo
  PDO
  pdo_sqlite
  </code></pre>
  
  <p>FreePBX's <code>./install</code> errors out appropriately:</p>
  
  <pre><code>Checking if Asterisk is running and we can talk to it as the 'asterisk' user...Done
  Preliminary checks done. Starting FreePBX Installation
  Checking if this is a new install...Yes (No /etc/amportal.conf file detected)
  Database Root installation checking credentials and permissions..Error!
  Invalid Database Permissions. The error was: could not find driver
  </code></pre>
  
  <p>Lastly, pdo_mysql is in the /etc/php.d directory:</p>
  
  <pre><code>[root@freepbx-localdomain php.d] # ls *pdo_mysql*
  30-pdo_mysql.ini
  </code></pre>
  
  <p>I'm struggling here, and about to do a clean CentOS install (and not run it on Fedora Workstation, which wasn't the best idea). Ideas?</p>
  
  <p>Edit: While supposedly php.ini is no longer used to load extensions, I did try it anyways, adding:</p>
  
  <pre><code>extension="pdo.so"
  extension="pdo_mysql.so"
  </code></pre>
  
  <p>And now...</p>
  
  <pre><code>[root@freepbx-localdomain freepbx] # /usr/bin/env php -m | grep -i pdo
  PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
  PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
  PDO
  pdo_sqlite
  </code></pre>