PEAR is the PHP Extension and Application Repository.

learn more… | top users | synonyms

7
votes
4answers
4k views

Upgrading PEAR from 1.9.0 to 1.9.1 fails

I'm willing to install phpunit 5.3 with MAMP 1.9 and there for I need to upgrade PEAR to version 1.9.1. The current version installed is 1.9.0. When I try the to upgrade I get the following: sudo ...
4
votes
2answers
2k views

php pear: The default config file is not a valid config file or is corrupted

I'm really in deep sh*t here. While running "pear install HTTP", my server get rebooted, when everything back, I continue my work, and... $sudo pear install HTTP ERROR: The default config file is not ...
3
votes
2answers
306 views

How to manage dependencies on PEAR packages

It seems to me that PEAR is picking up steam again, at least as a distribution mechanism. With the availability of simple PEAR channel servers that are actually simple (e.g. Pirum) it seems many ...
3
votes
1answer
754 views

qmail responds 502 unimplemented on STARTTLS

I am trying to send mail with php using the PEAR Mail_queue package. It should be working, and it appeared to work twice, but for some reason I keep getting the following error response from qmail: ...
3
votes
1answer
4k views

Find path where PEAR library is installed to place in php.ini?

How can I find the path where a PEAR library is installed to correct it in php.ini?
2
votes
3answers
2k views

Error - Unable to find `dot` command of the GraphViz package

Ubuntu precise (12.04.1 LTS) I'm rather new to PEAR. I installed PEAR. Then, using pear I installed phpdoc. It seems to be working great except for the graphing functions. I ran this command: ...
2
votes
2answers
1k views

PECL command produces long list of errors

Currently running PHP 5.4 on CentOS 6.5. I installed the webtatic php55w package then installed PEAR+PECL without issue along with redis and mongo through PECL. Shortly after, I realized 5.5 is not ...
2
votes
1answer
1k views

Change pecl's temp directory? (installation issue)

I am trying to install imagick on a VPS running Centos 5.8. Typically, it's a quick fix, but the hosting provider will not allow (permission is already denied) me to use the typical fix, which is to ...
2
votes
2answers
2k views

PEAR Installer won't upgrade

I'm trying to install SOAP on PEAR via the command line on Dreamhost. I've upgraded to the latest version of PEAR (1.9.0) but when I try and install SOAP I get the error: pear/SOAP requires PEAR ...
2
votes
2answers
378 views

error installing php-pear on Debian Lenny

[ps]$ sudo apt-get install php-pear Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: php-pear 0 upgraded, 1 ...
2
votes
0answers
624 views

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/json.so' undefined symbol: ZVAL_DELREF [duplicate]

I have an issue where I am unable to use JSON, which would appear to be because of the following error. There is another thread on this forum this touches on a similar issue, but it's not quite the ...
2
votes
1answer
227 views

What are the issues when installing PEAR on Windows XP?

I have a problem using the CLI with PEAR in a WAMP environment, I have tried different ways of getting pear to run in CLI but it doesn't want to go, I even have tried making a pear.bat file that ...
2
votes
1answer
47 views

pear creates old directory after php compilation

I have deleted /usr/local/php5.3 and compiled PHP 5.3.1 in directory /usr/local/php5.3.1. After installtion pear creates its pear.conf in /usr/local/php5.3/etc. I always thought that compiling in ...
1
vote
3answers
942 views

1&1 Dedicated Linux Server w/ Plesk 10 - How to add PEAR without breaking?

I have a 1&1 Dedicated server, running Linux and I use Plesk 10 to administrate (although I do have root access). It appears to have been configured --without-pear - but I would like to add it ...
1
vote
2answers
2k views

Should one use “From”, “Reply-To” or both headers to reflect their client's email address when sending an email to yourself from a “Contact Us” page?

I have written a website that uses the PHP Pear Mail function to send a few email messages. Mainly to people who have lost their password and to me when somebody submits the "contact us" form. My ...
1
vote
1answer
975 views

How many emails per second is too fast?

I have a growing online business and a dedicated server that I use to send out the occasional newsletter. As it grows past a few thousand customers, I wonder how I can send emails faster without being ...
1
vote
2answers
5k views

Installing PECL package on Ubuntu — cannot find config.m4

I've got a new Ubuntu installation set up and running, it servers PHP pages on Apache, everything works normally. I'm trying to install a PHP-PEAR package called SCA_SDO, there's an issue with some ...
1
vote
2answers
375 views

How to install Text_Highlighter PEAR package?

I've tried a lot of possible solutions but no one helped: pear install Text_Highlighter Failed to download pear/Text_Highlighter within preferred state "stable", latest release is version 0.7.2, ...
1
vote
2answers
878 views

php go-pear.phar on Debian Testing does nothing

I have a fairly fresh Debian Testing install, and I am trying to install PEAR / PECL but when I run the command nothing happens. I don't want to install the PEAR package in the Debian repositories ...
1
vote
1answer
812 views

Install pecl extension on ubuntu after upgrading to php 5.4

I had php 5.3 installed and upgrade to 5.4 using this PPA https://launchpad.net/~ondrej/+archive/php5 - everything went smoothly. My old pecl extensions, such as oauth, wern't enabled, so I ...
1
vote
1answer
808 views

Having trouble installing PHPUnit with PEAR Installer (Windows)

I am trying to install phpunit/PHPUnit. I get something like below, I think the problem is that Archive/Tar.php is not found? I tried using the --alldeps switch and got the same error. Trying to ...
1
vote
2answers
513 views

Upgrade Pear Installer on a MediaTemple (dv) Dedicated-Virtual 3.5 server

All, Sorry in advance - I'm pretty naive when it comes to these things. Anyway, I'm trying to install the Pear Mail module. So, from the command line, I try this: pear install --alldeps Mail ...
1
vote
1answer
886 views

Install system-wide PEAR on Debian Lenny

I've installed PEAR on Debian Lenny using apt-get install php-pear, it was installed in /usr/share/php When I try to install anything using pear install <package> the PEAR folder is created ...
1
vote
1answer
714 views

Trouble Installing PEAR from Source, can't find libclntsh.dylib.10.1

I was asked to look over a laptop (OS X, 10.5) that was setup for a new developer, and I discovered that the pear executable was missing. This shop sets PHP up from source, so I navigated to the ...
1
vote
1answer
355 views

Can't connect to pear.php.net

If I try anything with PEAR, I get: # pear list-all Connection to `pear.php.net:80' failed: Connection timed out If I ping it, I get the following: # ping pear.php.net PING euk1.php.net ...
1
vote
0answers
96 views

PEAR errors - The Procedure entry point mysql_server_end could not be located in the dynamic library link LIBMYSQL.dll

I recently made the switch to a new server (Windows Server 2008, PLESK) and have realized that my includes in php do not work. I've installed PEAR using command line and ensured that php.ini refers ...
1
vote
1answer
87 views

Media Temple GS Problems Including Custom Pear Packages

I have PEAR setup and custom packages installed under the directory /home/######/data/pear/php I can ssh in and confirm the files are there, however I can not include them in my application as such ...
1
vote
0answers
433 views

Configure PEAR on CentOS 6 and PLESK

I'm hoping to get a little assistance with configuring PEAR to work properly. I have a PHP file that's calling PEAR's mail and mail-mime files, and I believe I am missing some steps because I keep ...
1
vote
1answer
547 views

Compiling mysqlnd_uh plugin

I'm attempting to implement a mysql logger similar to what is described in the following article using the mysqlnd_uh extension. ...
1
vote
0answers
682 views

Trying to install PEAR (running go-pear batch file) - getting “php_pdo.dll is missing” error

I need PEAR installed. So, I tried running the go-pear batch file inside by PHP extract. But it gives this error - The program can't start because php_pdo.dll is missing from your computer. Try ...
1
vote
1answer
104 views

Issue when moving from Apache to Lighttpd

This might not be the right place, but we think its narrowed down to a Lighttpd config issue on our end, just cannot pinpoint. Asked in Virtuemart and Lighttpd forums with no luck. We have a live ...
1
vote
1answer
503 views

Can't install PHPUnit using PEAR on Linux

I'm trying to install PHPUnit on my system using pear. after discovering and updating the channel, when I try to install PHPUnit using the following command: sudo pear install phpunit/PHPUnit I get ...
1
vote
1answer
404 views

Centos 5.5 install PearDB

Disclaimer: I use Linux for some jobs but I am not a Linux admin. I have a Centos 5.4 machine which performs some server duties and doubles as a web site development machine. PHP 5.3.3 was installed ...
1
vote
1answer
952 views

How to make Horde connect to mysql with UTF-8 character set?

How to tell horde 3.3.11 to use UTF-8 for it's mysql connection? The $conf['sql']['charset'] only tells horde what is expected from the database. Horde uses MDB2 to connect to mysql. Is there way to ...
0
votes
2answers
1k views

How to use only Chef's “php_pear” provider from “php” cookbook

When using Vagrant (and subsequently Chef), I'm provisioning my VM using Zend Server CE, which automatically installs the usually *AMP stack. I'd like to install some packages via PEAR, for which the ...
0
votes
2answers
68 views

What exactly is pearinstaller?

I see it in various places,but what's it for?
0
votes
1answer
1k views

Installing xdiff locally with Apache + PHP [closed]

I'm trying to get the xdiff library for PHP installed on my localhost so that I can do some testing with it. My set up is PHP 5.3 + Apache + Mac OS X. Unfortunately, there is no macports port for ...
0
votes
1answer
595 views

Uninstall Dependant Pear Packages

How do I uninstall these pear packages when they depend each other? sh-3.2# ./pear uninstall saucelabs/PHPUnit_Selenium saucelabs/PHPUnit_Selenium (version >= 1.1.6) is required by installed ...
0
votes
1answer
418 views

Pear broken after PHP downgrade

I downgraded PHP from 5.3 to 5.2 by doing something similar to mrkandy's script Everything works fine except pear. pear list shows the pear packages I installed before the downgrade and they all work. ...
0
votes
1answer
22 views

Install PHP PEAR on Windows non-interactively specifying target install directory

I want to install PHP PEAR on Windows non-interactively. If I just download http://pear.php.net/install-pear-nozlib.phar and run it like this: php install-pear-nozlib.phar It gets installed into ...
0
votes
2answers
73 views

Why would IIS use two different PHP installs?

I've inherited this Windows Server 2008 server that we use as our primary web server and have lately been running into some oddities. Previously, PHP was installed by just downloading a zip file, ...
0
votes
1answer
842 views

Cannot install PEAR on Centos 6.5 and PHP 5.5

This is driving me nuts already and there's no information about this whatsoever in Google, only 2006 posts, but they don't really help me. I have CentOS 6.5 freshly updated, PHP 5.5, MySQL, Apache, ...
0
votes
1answer
208 views

Invalid package provider 'pear'

I'm creating a manifest to install LAMP on a CentOS 6 machine. Everything works except for installing some pear modules. When issuing puppet /etc/puppet/modules/webserver/manifests/init.pp I get the ...
0
votes
1answer
76 views

Installing pear package debian squees

I try to install the php pear package on my debian server but I got the follow error ouput. :~# sudo apt-get install php-pear Reading package lists... Done Building dependency tree Reading ...
0
votes
2answers
980 views

Installing Wordpress Plugins/Pear Problem on Ubuntu

When I install wordpress plugins, I often get the error Warning: include_once() [function.include]: Failed opening '/usr/share/wordpress/wp-content/plugins/twitter-for-wordpress/' for ...
0
votes
1answer
44 views

how to install an older version of a pecl package

I have this code $passengerId = new \MongoId(oPassenger->getId()); return $this->createQueryBuilder('Device') ->update() ->multiple(true) ...
0
votes
1answer
629 views

mod_fcgid: stderr: PHP Fatal error with Plesk 11.5.30 and php-pear

Just upgraded to Plesk 11.5.30 and found out that sending SMTP emails with php pear aren't working anymore with following error message: mod_fcgid: stderr: PHP Fatal error: require_once(): Failed ...
0
votes
1answer
1k views

Installing PHPUnit with PEAR on CentOS

I'm trying to install PHPUnit on my linux box running CentOS 5.8 and I'm getting a heap of problems. I'm running PHP version 5.4.12 (Remi install). The odd thing to note first is that I have what ...
0
votes
2answers
1k views

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 ...
0
votes
1answer
319 views

how to connect to postfix using php pear mail smtp class

I have the following script: <?php include('Mail.php'); include('Mail/mime.php'); $recip = "me <me@yahoo.com>"; $strSubject = "test subject"; $strMessage = "test message"; $crlf = "\n"; ...