Questions tagged [pear]
For questions about PEAR, a repository of PHP software code, designed to offer some functionality not built into PHP core. Questions about PHP programming are off topic and should be asked on stackoverflow.com.
25
questions
0
votes
1
answer
1k
views
Setting up PEAR (excel) on Linux Ubuntu
First off, I have never used Pear before, I'm a complete newbie, but I need to mix php and excel so... I ran
sudo apt-get install pear
and that went smoothly, but I can't get any further. I tried to ...
1
vote
1
answer
2k
views
Pear upgrade not working in Ubuntu
When I try to upgrade Pear it shows a message on terminal as follows
Will upgrade channel://pear.php.net/xml_util
Will upgrade channel://pear.php.net/pear
Will upgrade channel://pear.php.net/...
0
votes
1
answer
522
views
Cannot install PECL ev package(OS X Yosemite)
I am trying for an hour already to install the g..amn ev package so I can use EvTimer in php but with no success. I am running sudo pecl install ev in terminal but I get the following error.
/bin/sh /...
0
votes
1
answer
1k
views
How To Upgrade Pear To Send Email With Smtp send() Function In PHP
I want to send e-mail on ubuntu 14.04 with smtp php. But I can't send e-mail because smtp-->send function doesn't work. So that I decided to install pear mail packages. But when ı want to install php ...
2
votes
1
answer
3k
views
-bash: pear: command not found
When trying to install phpDoc through the Terminal I get the following error:
-bash: pear: command not found
Even though I have just installed pear.
Prior to trying to install phpDoc I installed ...
1
vote
0
answers
969
views
Ubuntu 12.04 - Cannot install PEAR
Following these instructions:
How to install an updated version of PEAR / PHPUnit on Ubuntu?
sudo apt-get install php-pear
I get php-pear is already the newest version.
then
sudo pear channel-...
4
votes
3
answers
4k
views
Install a PEAR package without an Internet connection
I'm trying to install a package via PEAR, PHPUnit to be precise. However, the server I'm using is not connected to the Internet.
I managed to find a .tgz of PHPUnit in its PEAR repository at : PEAR ...
2
votes
1
answer
106
views
PearOS - Is it actually Linux?
I just downloaded PearOS 7 for both its look and the fact that it was linux... Until I thought about it. PearOS is a distro that was made by a french developer. Does it use the kernel that say... ...
1
vote
2
answers
705
views
Why showing pear and phpunit is not installed in xampp on ubuntu?
I have installed xampp 1.8 on my ubuntu 12.04. In /opt/lampp/lib/php/PEAR I can see there are two directory named PEAR and PHPUnit.
But when I run pear -V or phpunit from terminal it gives the below ...
3
votes
1
answer
596
views
What could be the reason for php-pear being so slow on my local Ubuntu VM?
I got an Ubuntu Raring Ringtail (Beta) VirtualBox VM running and connect to it via SSH. When using "pear install" and try to install "phing/phing" from "http://pear.phing.info/" it takes ages for the ...
1
vote
0
answers
137
views
ubuntu server pear not sending email no hints in log files
I installed Ubuntu 12.04 as a KVM virtual machine host. I selected SSH and lamp. All work nice. I copy all the files from my old website to this new server to test. All work as expected but the email ...
2
votes
3
answers
5k
views
Can't link Xdebug to PHP 5.4
Today I installed/updated my previous php 5.3.x to 5.4.11. Did it accordingly how do I upgrade from php 5.3 to php 5.4.6 in ubuntu?
Install was successful, but it seemed to me, that xdebug was ...
1
vote
1
answer
410
views
Why cannot I upgrade phpunit_selenium package in PEAR?
Currently I have PEAR v1.9.4 installed.
If I perform pear list -a I see:
PHPUnit_Selenium 1.2.8 stable
in the middle of the response. While the latest version is 1.2.11.
I've already updated ...
1
vote
2
answers
2k
views
Debian Squeeze can't install php-pear
I use Debian 6.0.6
sudo apt-get install php-pear
results in:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
...
2
votes
2
answers
2k
views
If two separate PATH directories contain a same-named executable, how does Windows choose?
I'm in the process of upgrading PEAR (PHP) on my system. The upgrade script is encouraging me to add "..\PHP\PEAR" to my PATH so that I can use "pear.bat". However, I already am able to use pear.bat.
...
8
votes
2
answers
2k
views
Cannot access pear.php.net from OSX Lion
I am stumped by this issue. I have 2 separate Macs that cannot access pear.php.net at all by name or IP.
Here are the symptoms and steps that I took to try to resolve/narrow down this issue.
$ ping ...
2
votes
0
answers
1k
views
cannt run phpunit tests on bash ubuntu 11.10
I'm working with Ubuntu 11.10 as root on my local machine, I've installed xampp 1.7.7 and
While following a tutorial on sitepoint on how to install pear to use PhpUnit, I didn't notice it then, but ...
0
votes
1
answer
918
views
How to install MDB2 for pear on Windows 7?
I am trying to install MySQL, PHP pear, and I don't know how to install MDB2 on Windows 7. Should I install Wamp first?
0
votes
1
answer
4k
views
How to reset PEAR configuration to default values?
I am having some PEAR issues which I assume to be PEAR/MAMP configuration related:
https://stackoverflow.com/questions/8482265/mamp-pear-configuration-is-pointing-to-local-directories
Therefore I ...
4
votes
1
answer
3k
views
PHP Fatal error: Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165
when running
pear upgrade
the following error is raised:
PHP Fatal error: Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165
PHP Stack trace:
PHP 1. {main}() /...
1
vote
1
answer
5k
views
Problem with installing Pear (XAMPP)
Hello I installed the latest version of XAMPP (1.7.4) on my windows xp system.
Now when i want to install Pear:
k:\xampp\php>go-pear.bat
I am confronted with the following error:
manifest ...
2
votes
1
answer
1k
views
what exactly happens when I "sudo apt-get install php-pear"
I'm a little confused about the reasoning behind installing PEAR through CLI like this:
//shell
sudo apt-get install php-pear
AFAIK Pear is just PHP library - so - that's just bunch of PHP classes. ...
12
votes
4
answers
20k
views
How do I upgrade pear from 1.4.9 to the latest version?
It looks like it might be 1.7.2, but I didn't find any definitive, "THIS IS THE CURRENT VERSION OF PEAR" on the pear website.
I'm trying to upgrade PEAR on a system that I'm not all that familiar ...
8
votes
4
answers
12k
views
Error trying to install PHPUnit from PEAR
$ sudo pear install phpunit/PHPUnit
Unknown remote channel: pear.symfony-project.com
phpunit/PHPUnit requires package "channel://pear.symfony-project.com/YAML" (version >= 1.0.2)
phpunit/PHPUnit ...
42
votes
3
answers
75k
views
How to install an updated version of PEAR / PHPUnit on Ubuntu?
Most tutorials online show how to install PEAR by doing this:
sudo apt-get install php-pear
This installs version 1.6.1. It works great because it's super easy! My problem is that I want to install ...