Questions tagged [pear]
PEAR is the PHP Extension and Application Repository.
68
questions
0
votes
0
answers
232
views
Package 'php-pear' has no installation candidate
I am trying to install apt install php-pear and I get this error message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php-pear is not ...
0
votes
1
answer
194
views
Trying to install Horde with php8.0/php7.4
AlmaLinux 9, LAMP up-to-date.
Acouple of weeks ago I tried to install Horde webmail but I gave up after “install failed”.
That time I followed pre requisites ++.
Now I am trying it again. I created a ...
2
votes
1
answer
852
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....
0
votes
0
answers
1k
views
pear install Console_getopt on centos 7
I am trying to run the command below on CentOS 7 (hosted on OVH) server as a step to install freepbx. Please check the error and suggest any fix if possible.
]# pear install Console_getopt
No ...
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?
0
votes
1
answer
1k
views
Issues using PHP Trader Functions: Call to undefined function trader_ma()
I'm attempting to install the Trader extension on my mac, currently using MAMP. I believe the install was done correctly but can't seem to use them. Here is my feedback from terminal
sudo pecl ...
0
votes
2
answers
5k
views
Daloradius - Class 'DB' not found, but "pear/DB" is deprecated
I run Centos 7, FreeRADIUS 3.0.4, PHP 5.4.16, httpd Apache/2.4.6.
I can log into the Daloradius login screen and then get ERROR 500 on the browser on the ../daloradius/dologin.php page.
Errors in ...
0
votes
0
answers
395
views
send php PEAR mail() to remote sendmail over SSH
I am migrating some applications to AWS and trying to seperate some mailing functions from the application servers.
To cut a long story short I am trying to configure PHP (using PEAR Mail.php) to ...
0
votes
1
answer
752
views
pear/MDB2_Driver_oci8 requires PHP extension "oci8"
I got this Error:
unable to find package 'MDB2_Driver_oci8' file 'MDB2/Driver/oci8.php'
so I tried to install it with
pear install MDB2_Driver_oci8-1.4.1
but following Error is showing up
pear/...
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 ...
2
votes
1
answer
379
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 ...
1
vote
1
answer
996
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~...
0
votes
0
answers
685
views
How to disable Pear caching?
We've been experiencing problems with the Pear cache and these problems are affecting our Puppet agents.
Here's what I mean:
$ ls -al /tmp/pear/cache/ | wc -l
211
How does one disable pear (php ...
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 ...
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: ...
0
votes
1
answer
382
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:\...
46
votes
1
answer
65k
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('...
0
votes
2
answers
139
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, ...
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 ...
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, ...
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:
/...
0
votes
1
answer
568
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
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
3k
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
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";
$...
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 ...
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)...
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
...
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 ...
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
0
answers
710
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 ...
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 ...
0
votes
1
answer
3k
views
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:
...
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
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 ...
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 ...
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 ...
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
757
views
Errors while installing php extenssion
I'm trying to install apc php extension for php 5.3.3 using the command pecl install apc but I get the following errors. I'm far from being server guru but as far as I can figure out this must be a ...
1
vote
2
answers
637
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, ...
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 ...
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
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 ...
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 ...
3
votes
2
answers
417
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 ...
0
votes
2
answers
647
views
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 ...
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 ...
0
votes
1
answer
1k
views
SMTP implementation on EC2 using Pear Mail package (PHP)
I am working on sending out SMTP relay email's using Gmail as my server using Pear Mail package in PHP. I have installed Pear package using YUM. Also I have located the path for pear_dir and included ...
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?