Solved

zend: PDO disabled

Posted on 2010-08-28
3
360 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 110

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 110

Expert Comment

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

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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.

623 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