Yii Framework Forum: pdo set up in debian - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

pdo set up in debian

#1 User is offline   dimis283 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 277
  • Joined: 24-January 09

Posted 13 October 2009 - 05:48 AM

My debian setup for php has PDO extension install as yii write but no mysql drive-How can I set up mysql and sqlite drivers?
Dimis
Posted Image
0

#2 User is offline   7aco 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 17-October 09

Posted 17 October 2009 - 10:56 AM

Not sure exactly what you want but...
If you want to enable pdo extension for mysql, open your php.ini and make sure these lines aren't commented out:
extension=pdo.so
extension=pdo_mysql.so
optionally:
extenstion=pdo_mysqli.so
Same story with sqlite, just search for 'pdo_sqlite' in your php.ini.
0

#3 User is offline   Coksnuss 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 142
  • Joined: 14-May 09

Posted 19 October 2009 - 05:18 AM

apt-get install php5-sqlite php5-mysql should include PDO configuration...
0

#4 User is offline   kkkyka6s 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 41
  • Joined: 05-March 11

Posted 11 March 2011 - 12:11 PM

View PostCoksnuss, on 19 October 2009 - 05:18 AM, said:

apt-get install php5-sqlite php5-mysql should include PDO configuration...

No php5-sqlite available on my Ubuntu Jaunty (and also on an EmDebian System) even if sqlite itself is installed.

I've tried to find pdo_sqlite.so, but also no luck, so how to get the PDO SQLite extension to be passed in the checker?

Thanks
Achim
0

#5 User is offline   kkkyka6s 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 41
  • Joined: 05-March 11

Posted 14 March 2011 - 05:06 AM

graceful bump
0

#6 User is offline   kkkyka6s 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 41
  • Joined: 05-March 11

Posted 06 April 2011 - 12:24 PM

OK, I've found php5-sqlite in Debian Lenny and installed this package in EmDebian.

Now it works
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users