Questions tagged [pear]

PEAR is a repository of PHP software code, designed to offer some functionality not built into PHP core

The PHP Extension and Application Repository, or PEAR, is a repository of PHP software code.

PEAR contains a repository of hundreds of PHP libraries, ranging from HTML form generation to an IMAP protocol implementation. Its use as a package manager (for both PEAR and PECL) has been deprecated (it throws numerous warnings if you run it under PHP 5.4 or later). PEAR libraries, being normal PHP files, can be downloaded directly and included like any other PHP file. If you need a package manager for PEAR, you can use PEAR2 Pyrus, which is written in

Stig S. Bakken founded the PEAR project in 1999 to promote the re-use of code that performs common functions. The project seeks to provide a structured library of code, maintain a system for distributing code and for managing code packages, and promote a standard coding style. Though community-driven, the PEAR project has a PEAR Group which serves as the governing body and takes care of administrative tasks. Each PEAR code package comprises an independent project under the PEAR umbrella. It has its own development team, version-control and documentation.

See http://pear.php.net/ for more information.

1683 questions
0
votes
1 answer

pear isn't working properly: Fatal error: Class 'PEAR_Error' not found

I have xampp and I wrote this code:
guy
  • 40
  • 7
0
votes
1 answer

Chef Pear Package * not found in either PEAR or PECL

when using chef 11.4.0 on an ubuntu 10.04 with the php cookbook (version 1.2.2). I am getting an error RuntimeError: Package PEAR not found in either PEAR or PECL. The relevant recipe code is as follows php_pear "PEAR-drush" do package_name…
Michael Bopp
  • 656
  • 1
  • 4
  • 13
0
votes
3 answers

Issue with HTML displayed in email sent from PHP

I'm using the Pear PHP mail library to send HTML emails (mainly to hotmail). I'm having issues with the CSS functioning correctly. At the moment when the message is received the CSS is in the body of the message and the styles are not applied. The…
Daniel Pilch
  • 2,097
  • 5
  • 24
  • 30
0
votes
1 answer

how can I sort and display dynamic data under dymanic table headers?

The project is a web calendar/scheduler using php. The idea is that a user can schedule a job that is assigned to specific machine at a specific time and others can see the job schedule and which 'asset' the job is assigned to. The scheduling works,…
royjm
  • 107
  • 14
0
votes
2 answers

Using MDB2 and MySQLi together (Good or bad?)

I want to use the PEAR Mail_queue package which requires the PEAR MDB2 package for database abstraction. I currently use MySQLi for all my database queries and dont really desire using MDB2. Would it be bad practice to use both MDB2 and MySQLi in my…
Ben McRae
  • 1
  • 1
0
votes
1 answer

Getting Strict Standards Error in Pear folder in Magento

I am newbie to Magento Development. I have an error, when I am trying to update my Magento 1.4.2.1 to Magento 1.7, I am getting Notice of Strict Standards. I cannot go past those error, except by disabling those errors. and My Magento is also not…
Manoj Bisht
  • 101
  • 1
0
votes
1 answer

What's the best way to load PEAR modules in Zend Framework 1?

I need the PEAR module, Services_Ebay in my ZF1 project. I'd like to put it and its dependencies in /library so the project is completely self-contained. Is there a recommended way of doing this while using either ZF's or PEAR's autoloaders?
Brad303
  • 1,161
  • 8
  • 10
0
votes
1 answer

Installing html_quickform2 with EasyPHP

I am using the most recent version of EasyPHP (a PHP 5.5 installation) as of this writing and it does not have Pear installed. That wasn't a problem until I read about html_quickform2 which seemed like a useful utility but I couldn't figure out how…
IcedDante
  • 6,145
  • 12
  • 57
  • 100
0
votes
1 answer

Can't make PHP find PEAR Mail.php

I'm trying to send mails using my local hosted PHP server, I installed PEAR successfully using this guide and everything appears to be valid (path is familiar and reacts) But when i try to run my PHP code which contains the use of Mail.php, i still…
SagiLow
  • 5,721
  • 9
  • 60
  • 115
0
votes
2 answers

Error Sending Email using PHP, PEAR

I installed Pear and then the Mail and SMTP components on my server. I then updated my php.ini file to "include_path = ".C:\wamp\bin\php\php5.4.3\pear" since that is where the Mail.php is. For some reason when I run this test script through a web…
Ty Jacobs
  • 113
  • 2
  • 7
  • 23
0
votes
1 answer

I have an error after having installed Behat + Mink by "pear"

I have installed Behat and Mink by pear commands and after running Behat using behat -h command, I got an error: "PHP Fatal error: Class 'Symfony\Component\Console\Helper\ProgressHelper' not found in …
user1499804
  • 227
  • 2
  • 6
  • 11
0
votes
1 answer

Different results - SQL Server and PHP (PEAR DB)

I'm trying to run a query using php pear db and is not returning any value. However, when I run using SQL Server I get the data In PHP I'm already setting: "SET ANSI_NULLS ON" and "SET ANSI_WARNINGS ON" Query: select A.nome, count(sa.id_sala) as…
Eduardo Stuart
  • 2,869
  • 18
  • 22
0
votes
3 answers

magento extension installation

I want to install a Magento extension in WAMP, but not from the Magento connect system. How can I do this? I have the module (extension) code and I already installed the sample data in the Magento installation. Thanks.
user189643
0
votes
2 answers

Dealing with empty tags in pear xml_serializer

Im using PEAR XML Serializer to generate xml results from array inputs. I found out that empty array elements are encoded like this: . I'd rather prefer it this way Below are my options: $options = array …
kehers
  • 4,076
  • 3
  • 30
  • 31
0
votes
0 answers

pear php extract soap file attachment using soap_client

I am using PHP pear Soap_Client to fetch the mime type data. The code is $soapclient = new SOAP_Client($url_rec); $msg = $soapclient->_call('query', $params_rec, $options); if($msg) { var_dump($soapclient->_soap_transport->attachments); } if I…