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
0
votes
1 answer

Enable PDO in shared server

My newest client has decided (against my heavy recommendation to use my tried and true host..) to use Webmasters.com to host their site. This is turning into a nightmare... I finally got the full access I needed instead of a child-lock account…
0
votes
3 answers

PDO ODBC error just resets connection

Trying to write an ODBC PDO driver for CakePHP. Seems like I get closer and closer however whenever a PDO function is called that it doesn't like the connection just gets reset immediately and I'm not able to get any error information whatsoever.…
Shawn Welch
  • 541
  • 2
  • 5
  • 19
0
votes
1 answer

Compiling PHP 5.1.6 with PDO MySQL

UPDATE I Asked this over on StackOverflow as I hadn't got any answers on here at the time. Here's the link to the answers for completeness' sake. I'll like that page back over here once I've tried Dan C's solution below. ORIGINAL A while ago a…
Greg B
  • 1,598
  • 5
  • 17
  • 32
0
votes
1 answer

PHP Fatal error: Class 'PDO' not found

PHP Fatal error: Class 'PDO' not found in /home/bd/public_html/app/webroot/Cake/Model/Datasource/Database/Mysql.php on line 177 PHP INFO: PDO PDO support => enabled PDO drivers => sqlite, sqlite2, mysql pdo_mysql PDO Driver for MySQL =>…
Tiffany Walker
  • 6,681
  • 14
  • 56
  • 82
0
votes
1 answer

Trying to install pdo_oci via PECL fails asking for PDO extension

I'm using Linux Mint 11 (based on Ubuntu 11.04) and I need to use PHP with Oracle through PDO, a requirement of the framework we will work with. I've installed various PDO extensions using the normal apt-get method, like php5-mysql, etc, and they…
igorsantos07
  • 620
  • 7
  • 13
0
votes
1 answer

PostgreSQL 9.0 and PHP on Amazon EC2

How can I enable PostgreSQL 9.0 support in PHP on my Amazon EC2 instance? I'm running the free 32 bit Linux Micro instance. I've installed PostgreSQL 9.0 by following these instructions…
Steve
  • 1
  • 1
0
votes
1 answer

Suse11 - How to install pdo_mysql

I am going to install Drupal 7 to my new server, I have installed all stuff that mentioned in the requirement, however I stall get the error message saying that "...Your web server does not appear to support any common PDO database extensions.…
Charles Yeung
  • 115
  • 1
  • 7
0
votes
1 answer

Proper Linux environment for php5.3?

I use CentOS 5.5 64bits, and I'd strongly prefer running php5.3 there (please focus on this), but if you have a safe recipe to run it on another distribution, I'll take it into consideration. My problem is that I get to achieve either one of these…
0
votes
2 answers

php pdo mssql driver on centos

How do I install PHP PDO Mssql Driver on Centos?
user67989
0
votes
1 answer

Can't get PDO MySQL driver to work on PHP

Trying to install Vanilla 2 locally using MAMP i got the error: "You must have the MySQL driver for PDO enabled in order for Vanilla to connect to your database". When I check phpinfo() I…
bart
  • 171
  • 1
  • 7
0
votes
1 answer

Installing my mysql adapter properly

I am running on ubuntu 10.04. Can someone tell me how to isntall: PHP5 MySQL with support for PDO All tutorials I've found are a bit old.
sanders
  • 103
  • 2
  • 12
0
votes
1 answer

pdo_mysql installation

On my server I'm trying to instal PHProjekt (6). This requires pdo_mysql however. I thought this installation of pdo_mysql would be rather straightforward... I tried using pecl (pecl install pdo_mysql) after installing devel etc, but this came up…
Arsenal
0
votes
1 answer

IIS + PHP Data Objects + MS SQL?

We're migrating an LAOP server to Win 2k8 IIS7 MSSQL and PHP (WIMP?) at work, and I'm using the opportunity to clean up the PHP. Currently it doesn't use PDO, and I'd like to rewrite the PHP to use that instead. Challenge is, I don't know much…
jldugger
  • 14,342
  • 20
  • 77
  • 129
0
votes
1 answer

php pdo comment page error

sorry for my English. My knowledge about the database is very simple. I have to come this code from a Forum. My problem, when anyone writes a comment, it shows on all Website, when I to wish that it only to display on the File where it writes. I to…
dsaj34v
  • 3
  • 3
  • 4
-1
votes
1 answer

Installing PDO and other PHP extensions for magento

I have a server and i was using php files on it. For some reason i had to reinstall apache on it. My files and my SQL database is still there. Now after fresh installation of Apache, when i run my php website i get PDO NOT INSTALLED error. So if now…
karan
  • 13
  • 1
  • 1