PHP Classes

PHP Killing MySQL?

Recommend this page to a friend!

      PHP Classes blog  >  The Plot to Kill PHP ...  >  All threads  >  PHP Killing MySQL?  >  (Un) Subscribe thread alerts  
Subject:PHP Killing MySQL?
Summary:Why not use PDO?
Messages:2
Author:Ed Hunziker
Date:2011-07-16 03:21:04
Update:2011-07-16 04:18:49
 

  1. PHP Killing MySQL?   Reply   Report abuse  
Picture of Ed Hunziker Ed Hunziker - 2011-07-16 03:58:35
Why not use the PDO extensions instead? That's what we do, so we don't do any direct mysql calls.

  2. Re: PHP Killing MySQL?   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-07-16 04:18:49 - In reply to message 1 from Ed Hunziker
PDO was introduced only with PHP 5. PDO would not work in older PHP versions. That is why the mysql extension always remain more popular and most developers took it as the way to go to access MySQL databases.