PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
It is currently Thu Oct 22, 2020 3:53 am

All times are UTC - 5 hours

Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Nov 28, 2014 6:12 pm 
Forum Commoner

Joined: Mon Nov 17, 2014 9:03 pm
Posts: 83
Dear Fellow PHPers, and Forum goers,

Note: I use IIS 7 in Windows 8.1; Perhaps it is different for you using unix or mac os, goodluck!

I have to apologize for all the trouble I have cause posting forum questions like the following:

It is obvious my first time dealing with php or with web server, or MySQL or PDO for that matter.

But where there is room to learn and analyze what's the problem and coming up with a solution at least amount to a well learned lesson.

Now the instructions in enabling and installing PDO database driver all misleading to certain extent.

For instance, in the part where this link is suggesting that you should enable the php_pdo.dll extension. DON'T DO IT. PHP 5.6.3 already comes with it, I not too sure or have proof of this, but I think it is already built in to the php.exe, which means it is already enabled. So when you enable it you will get an error telling you the PDO_MYSQL module is already enabled.

You will not need to enable no other extension for PDO to work, I got some weird error messages going around to all places.

if you read my previous post you will know.

Anyhow, that's a lesson well learned.

I hope someone with IIS windows can find this useful before going to enable extensions that already NOT needed to be RE-enabled.


PostPosted: Fri Nov 28, 2014 7:30 pm 
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA
PDO is not built-in. I don't know what you did but it seems you tried to enable it twice.

PostPosted: Fri Nov 28, 2014 7:48 pm 
Forum Commoner

Joined: Mon Nov 17, 2014 9:03 pm
Posts: 83
I know, but look at this, these are my extensions in my php.ini file:

Syntax: [ Download ] [ Hide ]
  1. [ExtensionList] 
  2. extension=php_sockets.dll 
  4. extension=php_mysql.dll 
  5. extension=php_mysqli.dll 
  6. extension=php_mbstring.dll 
  7. extension=php_gd2.dll 
  8. extension=php_gettext.dll 
  9. extension=php_curl.dll 
  10. extension=php_exif.dll 
  11. extension=php_xmlrpc.dll 
  12. extension=php_openssl.dll 
  13. extension=php_soap.dll 
  14. extension=php_pdo_mysql.dll 
  15. extension=php_pdo_sqlite.dll 
  16. extension=php_imap.dll 
  17. extension=php_tidy.dll 

Now ask yourself, is there a PHP_PDO.DLL there in these lines...

My mistake was that the instructions say, for UNIX to enter the extension=php_pdo.dll line but it also say to enable these the desire extensions out all the pdo extensions that are available.

My first mistake when I did that was to enable them all, that's why I got the error that the fbclient.dll and oci.dll files were missing, because php.exe were looking for the program that has those extensions.

My second mistake was to then comment out the troubling extensions and only leaving the php_pdo_mysql.dll enable, that I was enabling it twice and I didn't know until a while ago.

You are right, it is not built in, I just cannot tell the difference between the php_pdo.dll (which is needed for unix) and php_pdo_mysql.dll (needed for windows), these two files could be doing exactly the same thing.

I mean it was my honest mistake.

I still the instructions from are vague.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours

Who is online

Users browsing this forum: Bing [Bot] and 29 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group