| View previous topic :: View next topic |
| Author |
Message |
chias n00b

Joined: 06 Nov 2009 Posts: 56 Location: everywhere
|
Posted: Sat Apr 14, 2012 7:49 pm Post subject: [solved] PHP disabling PDO even though it's enabled in USE |
|
|
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 |
|
 |
chias n00b

Joined: 06 Nov 2009 Posts: 56 Location: everywhere
|
Posted: Sat Apr 14, 2012 8:07 pm Post subject: |
|
|
I had forgotten the sqlite3 use flag. Works a charm, now  |
|
| Back to top |
|
 |
|