Pyrus is the next generation installer for PHP packages (PEAR2).
Questions tagged [pyrus]
22 questions
19
votes
1 answer
What is the difference between PEAR and PEAR2?
So there is the old pear installer and pyrus which is the new package manager for PEAR ... or was it PEAR2 ... at least it's faster and stuff.
And there is the old package.xml version <2.0 and the new package.xml >=2.0 ... is that version related to…

Raffael
- 19,547
- 15
- 82
- 160
12
votes
1 answer
'php pyrus.phar' won't get executed
I use PHP 5.3 on Debian and according to php -m 'Phar' is loaded.
But executing php pyrus.phar or php pyrus.phar config-show leads to no output at all.
What might be the problem?
debian:~# php -v
PHP 5.3.5-1 with Suhosin-Patch (cli) (built: Feb 19…

Raffael
- 19,547
- 15
- 82
- 160
6
votes
1 answer
Including Pear Libraries in PHP Frameworks
How should PEAR libraries be incorporated as packages / libraries within PHP frameworks?
Namely, I'm using a package system within a PHP framework - and need those PEAR libraries to be easily redistributable (I'm referring specifically to…

Calvin Froedge
- 16,135
- 16
- 55
- 61
6
votes
2 answers
What is the difference between Pyrus and Composer?
I'm new to Zend Framework 2.0, after reading the documentation I know that we can install Zend via some package managers as Pyrus, Composer. But I don't know which package manager should I choose? Please explain to me some differences between them,…

Kevin
- 1,403
- 4
- 18
- 34
4
votes
1 answer
Installing ezComponents with Pyrus
this is somewhat related to Problems installing PHP EzComponents using pyrus.
I am trying to do a clean installation of pyrus without any package installed the way pear used to do it (meaning no pear installer etc.).
I am however running in to…

andsens
- 6,716
- 4
- 30
- 26
3
votes
2 answers
PEAR/Pyrus installation
I am installing Pyrus on my CentOS server by using the following command:
$ php pyrus.phar install PEAR2_Pyrus
I am getting an error:
The sqlite3 extension is required.
You must compile PHP with sqlite3 enabled, or install the necessary extension…

sumit
- 10,935
- 24
- 65
- 83
3
votes
2 answers
Install PEAR on project local?
How to install pear on project local?
Only install system global (and copy manually to project local) ?

Matt - sanemat
- 5,418
- 8
- 37
- 41
2
votes
2 answers
Problems installing PHP EzComponents using pyrus
It seems that the Ez Components repository will not play nice with pyrus. It seems to 302 when pyrus tries to download the package. Has anyone had any luck installing this? It's a requirement for PHPUnit.
C:\wamp\bin\php\php5.3.5>php pyrus.phar…

Benbob
- 13,876
- 18
- 79
- 114
2
votes
0 answers
Install PEAR2 / pyrus.phar on PH 7.0.8 throw PyrusXMLParserException: Invalid XML document
I am new here. My first question / request is about PEAR2 / pyrus.phar.
I get an exception on this command (when I type it on the Command Prompt):
php pyrus.phar
Exception:
PyrusXMLParserException: Invalid XML document PyrusXMLParserException:
…

rikk47
- 31
- 5
2
votes
1 answer
PHP + Pear|Pyrus + Mail; Mail can't find Pear.php
I've been banging my head on this for weeks now. I've found many people with similar issues, and have gotten a little farther towards solving my issue, but not all the way.
WAMPserver 2.5 (PHP 5.5.12)
I originally installed Pear, but something was…

Pete
- 61
- 6
2
votes
1 answer
PEAR installed but not working. Where is PEAR.php?
I've installed PEAR using pyrus.phar in C:\PEAR for PHP on IIS7. I've also downloaded the PEAR Mail package when I require_once the file Mail.php, I get HTTP Error 500.0 - Internal Server Error.
Here is my code :

ShuklaSannidhya
- 8,572
- 9
- 32
- 45
1
vote
1 answer
RPM PHP and PEAR Packages
I'm trying to package a custom build of the latest PHP (5.3.3) with a set of pear packages. Unfortunately, the options given to do this don't seem to work. I'm posting the spec file as I see it should be. The version given doesn't actually fail,…

citrusmoose
- 53
- 1
- 7
1
vote
1 answer
Using Console_CommandLine
I have installed Console_CommandLine using pyrus:
php pyrus.phar install pear/Console_CommandLine
the directory where Console_CommandLine was installed has the next structure:
(/A_PATH/lib/)
lib/
├── cache
├── data
├── docs
├── downloads
├──…

Marcos
- 4,643
- 7
- 33
- 60
1
vote
2 answers
Pyrus install error
I am trying to install zend framework 2 using pyrus but i get a strange error on pyrus install : Pyrus\Config\Exception: Unable to parse invalid PEAR configuration at "."
Pyrus\Config\Exception: Document is empty
Pyrus\Config\Exception: Start tag…

sebastian.roibu
- 2,579
- 7
- 37
- 59
1
vote
1 answer
How to properly use both pear and pear2 packages?
I've set my pear installation inside my project:
php pyrus.phar mypear c:\apache24\htdocs\my-project\vendor
But it creates the following folder structure:
.configsnapshots
docs
downloads
php <---------- Here is where pyrus is installing pear +…

Jeflopo
- 2,192
- 4
- 34
- 46