Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] PHP disabling PDO even though it's enabled in USE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
chias
n00b
n00b


Joined: 06 Nov 2009
Posts: 56
Location: everywhere

PostPosted: Sat Apr 14, 2012 7:49 pm    Post subject: [solved] PHP disabling PDO even though it's enabled in USE Reply with quote

I'm trying to enable PDO for use with sqlite3. My uses for PHP are:

Code:
dev-lang/php-5.4.1_rc1  USE="apache2 berkdb bzip2 cli crypt ctype curl fileinfo filter gd gdbm hash iconv ipv6 json mysql mysqli nls pdo phar posix readline session simplexml ssl tokenizer truetype unicode xml xpm zlib -bcmath -calendar -cdb -cgi -cjk -curlwrappers -debug -doc -embed -enchant -exif -firebird -flatfile -fpm (-frontbase) -ftp -gmp -imap -inifile -intl -iodbc -kerberos -kolab -ldap -ldap-sasl -libedit -mhash -mssql -mysqlnd -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sharedmem -snmp -soap -sockets -spell -sqlite3 (-sybase-ct) -sysvipc -threads -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xsl -zip"


However, using PDO results in

Code:
Fatal error: Class 'PDO' not found in /path/file.php on line 100


Checking phpinfo() I see:

Code:
Configure command: [...] '--disable-pdo' [...]


so i assume it's something wrong with my config somehow... any ideas?

Thanks!


Last edited by chias on Sat Apr 14, 2012 8:15 pm; edited 2 times in total
Back to top
View user's profile Send private message
chias
n00b
n00b


Joined: 06 Nov 2009
Posts: 56
Location: everywhere

PostPosted: Sat Apr 14, 2012 8:07 pm    Post subject: Reply with quote

I had forgotten the sqlite3 use flag. Works a charm, now :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum