Questions tagged [pear]

PEAR is the PHP Extension and Application Repository.

PEAR is the PHP Extension and Application Repository.

The official web site of PEAR is http://pear.php.net/

66 questions
54
votes
7 answers

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 compatible with the framework I was working with so…
eComEvo
  • 971
  • 3
  • 17
  • 31
45
votes
1 answer

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) ->field('activated')->set(false) …
abbood
  • 1,087
  • 3
  • 13
  • 21
20
votes
4 answers

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: /var/www/site5 $ phpdoc -f models/classes.php -t…
Buttle Butkus
  • 1,719
  • 8
  • 32
  • 45
7
votes
4 answers

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 pear channel-update pear.php.net sudo pear upgrade…
tom
  • 535
  • 2
  • 6
  • 14
4
votes
1 answer

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 remount /var/tmp as executable, and then remount…
sofly
  • 159
  • 1
  • 5
4
votes
2 answers

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 question is this: since I am sending the email from…
darkAsPitch
  • 1,861
  • 4
  • 25
  • 42
4
votes
1 answer

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?
arunas_t
  • 143
  • 1
  • 4
4
votes
2 answers

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 a valid config file or is corrupted. $sudo pear…
Ta Coen
  • 240
  • 4
  • 13
3
votes
1 answer

Installing xdiff locally with Apache + PHP

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 xdiff. Here's what I've done so far in my /usr/lib…
joshholat
  • 193
  • 1
  • 5
  • 12
3
votes
2 answers

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 projects are moving towards PEAR as a distribution…
Sander Marechal
  • 289
  • 4
  • 11
3
votes
1 answer

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: DEBUG: Recv: 220 domain.com - Welcome to Qmail…
Syntax Error
  • 159
  • 8
2
votes
2 answers

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 Installer (version >= 1.5.4), installed version is…
2
votes
1 answer

How to install PECL when using PHP5.6 from http://ppa.launchpad.net/ondrej/php/ubuntu

I've installed PHP 5.6 from the PPA http://ppa.launchpad.net/ondrej/php/ubuntu. All the packages are called php5.6-whatever. There is no php5.6-pear in that PPA. How can I install php5.6-pear?
fadedbee
  • 1,988
  • 4
  • 22
  • 33
2
votes
1 answer

How to send mail using PHP Pear in Background

I'm currently using SMTP (connecting to Office365) to launch an email (using PEAR in PHP) whenever someone visits a page for an email notification on my Linode server (Ubuntu 15.04). My problem is that connecting to the Office365 server takes quite…
user97461
  • 23
  • 4
2
votes
3 answers

pear on CentOS with "No Package" message

I googled for hours to find a solution but couldn't find anything. What can I do with this error? I couldn't install php-pear on centOS 6.5. [root@server ~] # yum search php-pear Loaded plugins: fastestmirror, versionlock Loading mirror speeds from…
ali raha
  • 71
  • 1
  • 2
  • 7
1
2 3 4 5