Hey, I have the same problem and I also have PDO installed too. My line 16 in config-defaults.php is
PDO::ATTR_PERSISTENT => TRUE,
Then under that on lines 17 and 18
1000 => TRUE, // PDO::MYSQL_ATTR_USE_BUFFERED_QUERY is missing in some php installations 1002 => "set names 'utf8'" // PDO::MYSQL_ATTR_INIT_COMMAND is missing in PHP 5.3, so I use the actual value "1002" instead
I got the same problem when I tried to install version 2. I checked the PHP info, it shows './configure' '--disable-cgi' '--disable-pdo' '..... Well, that means the hosting company doesn't allow me to do it. What I can I do? Stick to Version 1.1.10 forever or switch a host?
Comments
My line 16 in config-defaults.php is
PDO::ATTR_PERSISTENT => TRUE,
Then under that on lines 17 and 18
1000 => TRUE, // PDO::MYSQL_ATTR_USE_BUFFERED_QUERY is missing in some php installations
1002 => "set names 'utf8'" // PDO::MYSQL_ATTR_INIT_COMMAND is missing in PHP 5.3, so I use the actual value "1002" instead
- Operating System
- Web Server (and version)
- PHP Version
- Preferably a link to where we can view a phpinfo() on your host
Vanilla Forums COO [GitHub, Twitter, About.me]
'./configure' '--disable-cgi' '--disable-pdo' '.....
Well, that means the hosting company doesn't allow me to do it. What I can I do? Stick to Version 1.1.10 forever or switch a host?
'./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-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-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--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-pcre-regex=/opt/pcre' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pgsql=/usr' '--with-png-dir=/usr' '--with-pspell' '--with-sqlite=shared' '--with-ttf' '--with-xpm-dir=/usr/X11R6' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
Any thoughts on what is not right about that configuration?