Questions tagged [pear]
PEAR is the PHP Extension and Application Repository.
68
questions
56
votes
7
answers
77k
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 ...
46
votes
1
answer
64k
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)
->field('...
20
votes
4
answers
63k
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:
/...
7
votes
4
answers
5k
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
1
answer
7k
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 ...
4
votes
2
answers
13k
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 ...
4
votes
2
answers
4k
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 ...
4
votes
1
answer
8k
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?
3
votes
2
answers
416
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
1
answer
3k
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 ...
3
votes
1
answer
2k
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:
...
2
votes
3
answers
11k
views
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: ...
2
votes
1
answer
5k
views
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?
2
votes
1
answer
3k
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 ...
2
votes
1
answer
806
views
Can't install mailparse on Ubuntu 20.04
If it weren't for the fact I had an older mailparse.so lying around on my development machine, I'd be completely without access to my own webmail app now.
root@parakeet:/home/rene/data1/htdocs/nicer....
2
votes
2
answers
8k
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 ...
2
votes
2
answers
617
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
2
answers
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
1
answer
4k
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 (5.77.39.20)...
2
votes
1
answer
378
views
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 ...
2
votes
0
answers
844
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
0
answers
1k
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
3
answers
1k
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
1
answer
3k
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, ...
1
vote
2
answers
636
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
3
answers
1k
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
1
answer
997
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
1
answer
2k
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
2
answers
570
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
Here'...
1
vote
1
answer
926
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
1
answer
1k
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
0
answers
2k
views
Install Pecl PAM authentication Apache
I want to setup horde webmail 5.2.9 on my server (debian Jessie).
When I go to localhost/horde/test.php I get:
PAM Support (PECL extension): No
The PAM PECL extension is required to allow PAM ...
1
vote
1
answer
989
views
PEAR Mail error seems to crash the server (php-fpm) : 504 Bad gateway
I've been running on this issue for a few days.
I haven't made configuration changes, apart from the usual system/security updates.
Server runs on Debian Wheezy
PHP 5.4.41-1~dotdeb+7.1
Nginx 1.8.0-1~...
1
vote
0
answers
46
views
Use apache upload_tmp_dir for pear applications
Is it possible to use upload_tmp_dir parameter defined in the apache configuration for using in PEAR applications?
The real problem appears because of System.php file of PEAR use /tmp directory, but ...
1
vote
1
answer
131
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
0
answers
709
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
1
answer
1k
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.
http://blog.mayflower.de/archives/578-MySQLnd-Plugins-Writing-a-MySQL-...
1
vote
1
answer
153
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
1
answer
617
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
1
answer
745
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 ...
0
votes
2
answers
2k
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
1
answer
3k
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
2
answers
76
views
What exactly is pearinstaller?
I see it in various places,but what's it for?
0
votes
1
answer
1k
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
1
answer
672
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
1
answer
378
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 C:\...
0
votes
2
answers
136
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
1
answer
566
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
1
answer
148
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
1
answer
1k
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 <[email protected]>";
$strSubject = "test subject";
$strMessage = "test message";
$crlf = "\n";
$...