Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

zend: PDO disabled

Posted on 2010-08-28
3
Medium Priority
?
366 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 111

Accepted Solution

by:
Ray Paseur earned 2000 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 111

Expert Comment

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

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

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…
This article discusses four methods for overlaying images in a container on a web page
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.
Suggested Courses

916 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