Solved

zend: PDO disabled

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

Accepted Solution

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

Author Comment

by:wantime
Comment Utility
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 108

Expert Comment

by:Ray Paseur
Comment Utility
Good choice!  Thanks for the points, ~Ray
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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 …
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now