Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
PDO error on first run
Trying to set up vanilla 2 on a shared host. I get the error message: Fatal error: Class 'PDO' not found in
/home//public_html/app/webroot/fc/forum/conf/config-defaults.php on
line 16
I've asked my host and they say that PDO is enabled.
Here's their response:
"PDO is indeed installed on your server, this is the information I was able to
find:
root@ans75 [/home]# php -i | grep PDO
PDO
PDO support => enabled
PDO drivers => sqlite, sqlite2, mysql
PDO Driver for MySQL, client library version => 5.0.90
PDO Driver for SQLite 3.x => enabled
You may want to check the vanillaforums support forums for further information
on this error, it appears that it may be something to do with your PHP code on
line 16 as the error indicates. If you have any further questions, please let
us know."
What is wrong, and can I fix it?
/home//public_html/app/webroot/fc/forum/conf/config-defaults.php on
line 16
I've asked my host and they say that PDO is enabled.
Here's their response:
"PDO is indeed installed on your server, this is the information I was able to
find:
root@ans75 [/home]# php -i | grep PDO
PDO
PDO support => enabled
PDO drivers => sqlite, sqlite2, mysql
PDO Driver for MySQL, client library version => 5.0.90
PDO Driver for SQLite 3.x => enabled
You may want to check the vanillaforums support forums for further information
on this error, it appears that it may be something to do with your PHP code on
line 16 as the error indicates. If you have any further questions, please let
us know."
What is wrong, and can I fix it?
0
Comments
<?php phpinfo() ?>
Configure Command:
'./configure' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-wddx' '--enable-zip' '--prefix=/usr' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mime-magic' '--with-mm=/opt/mm/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-png-dir=/usr' '--with-pspell' '--with-sqlite=shared' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
Which includes '--enable-pdo=shared' and "with-pdo-mysql=shared' " and "with-pdo-sqlite=shared' "
Do you know what that means, or if that is what its supposed to say? Thanks for your help!
It's something like that: http://www.jtlnet.com/phpinfo.php
It gives much more information that what you've just posted.
My php info (phpinfo page the same like TS write) http://www.ut.kh.ua/forum/phpinfo.php
Where PDO is enable in MyPHPAdmin or something else? I'm not so good in linux but i want to have my own forum very much.
P.S. Hardware: Router D-link Dir-320 DD-WRT v24-sp2 (10/10/09) mini-usb-ftp upgrated by phpMyAdmin 2.6.2 + WWW + MySQL + PERL
(PHP is working on my router as you can see at PHP-based search page http://ut.kh.ua/other.htm on my site)
so where I can enable PDO or what I must to install on my router using telnet? Maybe I have to add some package or something else in my PHP?
P.S. Hardware: Router D-link Dir-320 DD-WRT v24-sp2 (10/10/09) mini-usb-ftp upgrated by phpMyAdmin 2.6.2 + WWW + MySQL + PERL