Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'PDO' not found #2

Closed
tilllt opened this issue Jun 15, 2012 · 4 comments
Closed

Class 'PDO' not found #2

tilllt opened this issue Jun 15, 2012 · 4 comments
Labels

Comments

@tilllt
Copy link

tilllt commented Jun 15, 2012

Hi,

after getting mad about all the different groupware / caldav / carddav / syncML servers that exist in the wild, i came back to trying baikal. i am running a Zyxel NSA310 /w Fonz Fun Plug (running an ARM5 with 256mb ram)... I installed lighttpd and fastCGI and cloned the latest git sources but i get this:

2012-06-15 15:23:08: (mod_fastcgi.c.2699) FastCGI-stderr: PHP Fatal error: Class 'PDO' not found in /www/html/baikal/CoreVersions/0.2.0/Frameworks/Flake/Core/Database/Sqlite.php on line 39

Any clue how to solve this?

p.s. do you plan supporting ldap as authentication and maybe even backend for the cardDAV server? would be really practical to have ldap and a carddav server accesing the same directory data!

ciao,
t.

@tilllt
Copy link
Author

tilllt commented Jun 15, 2012

i google that i am supposed to check library depencies and did this with "ldd"
this was the output for pdo:

ldd: can't open cache '/ffp/etc/ld.so.cache'
checking sub-depends for '/ffp/lib/libgcc_s.so.1'
checking sub-depends for '/ffp/lib/libc.so.0'
ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x2a000000)
libgcc_s.so.1 => /ffp/lib/libgcc_s.so.1 (0x00000000)
libc.so.0 => /ffp/lib/libc.so.0 (0x00000000)
/ffp/lib/ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x00000000)

and this for pdo_sqlite.so

ldd: can't open cache '/ffp/etc/ld.so.cache'
checking sub-depends for '/ffp/lib/librt.so.0'
libc.so.0 => /ffp/lib/libc.so.0 (0x4000d000)
libdl.so.0 => /ffp/lib/libdl.so.0 (0x40072000)
libpthread.so.0 => /ffp/lib/libpthread.so.0 (0x4007d000)
ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x2a000000)
checking sub-depends for '/ffp/lib/libc.so.0'
ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x2a000000)
librt.so.0 => /ffp/lib/librt.so.0 (0x00000000)
libc.so.0 => /ffp/lib/libc.so.0 (0x00000000)
/ffp/lib/ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x00000000)

@tilllt
Copy link
Author

tilllt commented Jun 15, 2012

although enabled in php.ini, phpinfo() does not list any PDO drivers... no idea how to fix this.

@jeromeschneider
Copy link
Contributor

@tilllt have you found a solution to this ?

@tilllt
Copy link
Author

tilllt commented Jul 23, 2012

i think i had to recompile php 50 times before everything was working as i wanted too, it was something in the configure options... i must admit that i dropped my experimenting with baikal in favor of owncloud which does the DAV synching as well but a lot of things more... maybe you can combine your knowledge with theirs?

cheers! till

@ghost ghost mentioned this issue Dec 5, 2017
@steveweg steveweg mentioned this issue Nov 20, 2019
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants