You are not logged in.

#1 2013-01-13 22:45:24

xexio
Member
Registered: 2011-03-29
Posts: 14

Problem with PHP and PDO drivers

I configured my php.ini with the PDO extensions.

I made a page with phpinfo () and PDO section shows me this

foto4.png

What's the problem?

Offline

#2 2013-03-01 06:13:50

killua
Member
Registered: 2010-04-12
Posts: 8

Re: Problem with PHP and PDO drivers

uncomment following line in /etc/php/php.ini

extension=pdo_sqlite.so
https://bbs.archlinux.org/viewtopic.php?id=133058

Offline

#3 2013-03-11 20:00:50

Nrm
Member
Registered: 2013-03-11
Posts: 2

Re: Problem with PHP and PDO drivers

Hi everyone,

I've got the same problem, but my extension is activated.

 $ grep extention=pdo /etc/php/php.ini 
;extension=pdo_mysql.so
;extension=pdo_odbc.so
;extension=pdo_pgsql.so
extension=pdo_sqlite.so

I would like to use sqlite database for my php script but it doesn't work (i'm using nginx and php-fpm to do so)

any idea ?

PS : using command line it works perfectly (php script.php)

Last edited by Nrm (2013-03-11 21:04:10)

Offline

Board footer

Powered by FluxBB