You are not logged in.

#1 2011-03-29 18:54:31

poctob
Member
Registered: 2011-03-29
Posts: 1

PHP mysql PDO issue

Hi all,

I just installed LAMP stack following the instructions in Wiki.  Looks like PHP 5.3.6 will not load PDO drivers for mysql.  phpinfo() shows the following line for PDO:
PDO support    enabled
PDO drivers    no value

I have extensions mysqli.so, mysql.so and pdo_mysql.so uncommented in the php.ini.

php -m shows only PDO and mysqlnd loaded.

My application works fine on Ubuntu server running PHP 5.3.3.

Did anyone else run into this problem before?

Thanks in advance.

Offline

#2 2011-07-11 10:55:59

daJense
Member
Registered: 2009-05-17
Posts: 45

Re: PHP mysql PDO issue

Hi poctob,

I have the exact same issue. Did you find a solution for your problem?
Thanks

Offline

#3 2011-07-12 09:44:39

daJense
Member
Registered: 2009-05-17
Posts: 45

Re: PHP mysql PDO issue

Ok,
I found that copying the php.ini.pacnew over the old one and uncommenting the appropriate extensions it started working.  But I stumbled over some strange beahiour with error reporting. When I activate

Development Value: E_ALL | E_STRICT

This brakes the pdo extensions ... very annoying.

Offline

Board footer

Powered by FluxBB