Questions tagged [pdo]

PHP Data Objects (PDO) defines a lightweight and consistent interface for accessing databases.

PHP Data Objects (PDO) defines a lightweight and consistent interface for accessing databases.

Official manual

78 questions
-1
votes
1 answer

how to install pgsql_pdo?

I need to install pgsql_pdo but getting this error via root@server5 [~]# pecl install pdo_pgsql root/tmp/pear/PDO/pdo_dbh.c:1139: error: ‘zend_internal_function’ has no member named ‘pass_rest_by_reference’ /root/tmp/pear/PDO/pdo_dbh.c:1140:…
Chad
  • 11
  • 1
  • 1
-1
votes
2 answers

PDO not showing in phpinfo() with custom php.ini file

I have a custom php.ini file which sets my session.save_path=./ With this file in place, my phpinfo() does not show PDO or PDO mysql being enabled. If I rename the php.ini file, the phpinfo() does show these as being enabled. How can I ensure they…
Ashley Bye
  • 131
  • 1
  • 1
  • 5
-3
votes
2 answers

Can't install PHP PDO

I have now tried to install PHP PDO in 2 hours without any luck, and i have searched everywhere to get a solution - but without any luck. yum install php-pdo doesn't work and i cannot find extension = PDO in php.ini. have tried updating yum…
kim larsen
  • 101
  • 3
1 2 3 4 5
6