Solved

zend: PDO disabled

Posted on 2010-08-28
3
357 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

789 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