MDB2, Pear, Mysql error

ORIGINALLY POSTED ON https://stackoverflow.com/questions/2682332/mdb2-pear-mysql-error however as its a server issue thought i may have more luck here. Hi Guys, I have PEAR, MDB2 and Mysql Driver installed however I keep getting: Fatal error: Call to undefined function: MDB2_Driver_mysql::_isNewLinkSet(). in /home/**/PEAR/MDB2.php on line 1937. The Server is CentOS I am stuck, any help would be appriciated. … Read more

PEAR MDB2 is slow. Can anything be done for it?

I am using PEAR MDB2 on a high load server. Trying to optimize things, I benchmarked (I know I should have done benchmarking way long ago :() and found that only to include the MDB2 files, takes around 25ms. In contrast, using default mysql_ routines takes no time at all. (well, it costs around 0.1 … Read more

error_reporting showing unwanted NOTICE logs

I am getting following notices in php errorlog file. [10-Mar-2011 13:58:39] PHP Notice: require_once() [<a href=’function.require-once’>function.require-once</a>]: 1. h-&gt;opened_path=[/home/www/XXXXX/Core/QAjax.php] h-&gt;filename=[/home/www/XXXXX/include/project/Core/QAjax.php] in /home/www/XXXXX/modules/quantum_bootstrap.php on line 54 [10-Mar-2011 13:58:39] PHP Notice: require_once() [<a href=’function.require-once’>function.require-once</a>]: 1. h-&gt;opened_path=[/home/www/XXXXX/Core/Memcache.php] h-&gt;filename=[/home/www/XXXXX/Core/Memcache.php] in /home/www/XXXXX/include/project/Core/QAjax.php on line 22 [10-Mar-2011 13:58:41] PHP Notice: require_once() [<a href=’function.require-once’>function.require-once</a>]: 1. h-&gt;opened_path=[/home/www/XXXXX/cache/Parameters.php] h-&gt;filename=[/home/www/XXXXX/include/cache/Parameters.php] in /home/www/XXXXX/include/modules/quantum_bootstrap.php on line 15 [10-Mar-2011 … Read more

PEAR_Installer_Role_Pear_Installer_role_doc error

I try to install imagick in mint 9 (lxde) and there is error nerkn@nerkn-laptop ~/siil $ sudo pecl install imagick downloading imagick-3.0.1.tgz … Starting to download imagick-3.0.1.tgz (93,920 bytes) …………………done: 93,920 bytes ERROR: Unknown Role class: “PEAR_Installer_Role_Pear_Installer_role_doc” Can any one help? $ dpkg -l php5* ii php5-cli 5.3.2-1ubuntu4.9 ii php5-common 5.3.2-1ubuntu4.9 ii php5-curl 5.3.2-1ubuntu4.9 un … Read more

Install PEAR Mail/Mime Dependency issues in pure EPEL installation

Newbie in the sysadm area. Using Centos 6.2. I am trying to install PEAR’s Mime.php. I have successfully installed PEAR’s Mail before. It’s not going to well now for Mime.php. This is what I do: yum install php-pear-Mail-Mime Gives dependency issues: Resolving Dependencies –> Running transaction check —> Package php-pear-Mail-Mime.noarch 0:1.8.2-1.el6 will be installed –> … Read more

Horde webmail install – ‘webmail-install not found’

I’m trying to install Horde Webmail on my Debian server, but I got stuck on error. I followed manual on http://www.horde.org/apps/webmail/docs/INSTALL. After installing through pear, I’m supposed to run webmail-install script, but it’s not found. Here’s my install log mailserver:/var/www/horde# pear run-scripts horde/horde_role Including external post-installation script “/usr/share/php/PEAR/Installer/Role/Horde/Role.php” – any errors are in this script … Read more