Solved

zend: PDO disabled

Posted on 2010-08-28
3
356 Views
Last Modified: 2013-11-10
hello all,

i could like access mysql db by using zend framework. But i got following error info:

Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The PDO extension is required for this adapter but the extension is not loaded'

i know that one should decomment following rows in php.ini under linux:

extension=pdo.so
extension=pdo_mysql.so

the problem is that i don't have right to modify this file and pdo is disabled there. This file is stored in a web host.

my question is: how do i access mysql db by using zend, if pdo is disabled. Are there another way to do it?
0
Comment
Question by:wantime
  • 2
3 Comments
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 33551173
Who is your web host?  What have they told you about this error message?
0
 

Author Comment

by:wantime
ID: 33553072
i have choosed another one which enable the pdo.

in internet i found this post http://devzone.zend.com/article/1553, without pdo we can actually use zend to access mysql db.
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 33553229
Good choice!  Thanks for the points, ~Ray
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question