View Single Post
  #1   (View Single Post)  
Old 7th May 2014
pwalker pwalker is offline
New User
 
Join Date: May 2014
Posts: 2
Default PHP PDO-DB Driver Issue

I've been attempting to add the driver into my existing PHP installation so I can avoid mysqli going forward.

The package installed without trouble and I know where the so file is but PHP can't seem to find it. phpinfo() dump shows the driver isn't running.

First thing I did was go to the PHP.net website and look at the installation page there for PDO. Wasn't helpful at all, and it even says to make sure the PDO driver is loaded after the extention=pdo.so line ... but there is no line in the php.ini file at all.

Next I do a php -m.

First line is a warning saying it was unable to load a DLL file and confirms that only the pdo_sqlite is installed.

So far as I know, everything is where it's supposed to be...

Do I *really* have to rebuild the entire PHP system?
Reply With Quote