pear

Install PEAR SOAP fails

混江龙づ霸主 提交于 2019-12-10 17:09:24
问题 All, I'm getting the following error attempting to use PEAR to install SOAP # pear install soap Failed to download pear/soap within preferred state "stable", latest release is version 0.12.0, stability "beta", use "channel://pear.php.net/soap-0.12.0" to install install failed I'm looking for advice on what to do next. I'm running PHP 5 on a Mac using XAMPP. Thanks 回答1: Use: # pear install soap-0.12.0 回答2: Better is to use $ pear install soap-beta since you have to type less, and it still

PEAR mail authentication failure when sending emails

风流意气都作罢 提交于 2019-12-10 10:17:23
问题 Since I found that the in-build mail function in PHP has security vulnerabilities I tried to use PEAR. I have installed & made the necessary configuration on my localhost (WAMP server 2.2). However each time I try to send an email the following message is displayed. error: authentication failure [SMTP: Invalid response code received from server (code: 535, response: 5.7.8 Username and Password not accepted. Learn more at 5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257

Installing pear on windows, wrong paths

喜你入骨 提交于 2019-12-10 10:04:16
问题 I'm trying to install PEAR on Windows 7. I have php 5.4 in d:\web\soft\php directory, and I want to install PEAR in this directory too. I run: php go-pear.phar I see this: This paths are ok for me. Then I run enter and install it. In the end I see this warning: WARNING! Old version found at D:\web\soft\php, please remove it or be sure to use the new d:\web\soft\php\pear.bat command The 'pear' command is now at your service at d:\web\soft\php\pear.bat` and when I press pear config-show I see

How Do I Check To See If PEAR Is Installed On My Server or Not?

喜夏-厌秋 提交于 2019-12-10 04:23:02
问题 I am getting error like: Warning: include_once(Net/SMTP.php) [function.include-once]: failed to open stream: No such file or directory in /usr/local/lib/php/Mail/smtp.php on line 348 Warning: include_once() [function.include]: Failed opening 'Net/SMTP.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/local/lib/php/Mail/smtp.php on line 348 Fatal error: Class 'Net_SMTP' not found in /usr/local/lib/php/Mail/smtp.php on line 349 My code: require_once 'Mail.php'; $from

System or local when installing PEAR for PHPUnit

∥☆過路亽.° 提交于 2019-12-09 22:58:39
问题 I am using XAMPP 1.8.1. I need to write code with PHPUnit. When I try to install PEAR using command prompt, I get the message below: Are you installing a system-wide PEAR or a local copy? Could some one suggest which option I should use? Thanks in advance. 回答1: PEAR is usually installed system-wide. The benefit of this is that the various packages can be reused between different projects. One reason why you might install a local copy of PEAR is that the administrator[s] of the server you are

Spreadsheet_Excel_Writer data output is damaged

爷,独闯天下 提交于 2019-12-09 16:22:21
问题 I use Spreadsheet_Excel_Writer to generate .xls file and it works fine until I have to deal with a large amount of data. On certain stage it just writes some nonsense chars and quits filling certain columns. However some columns are field up to the end (generally numeric data) I'm not quite sure how the xls document is formed: row by row, or col by col... Also it is obviously not an error in a string, because when i cut out some data, the error appears a little bit further. I think there is

Install Pear Extension with PHP Installer

China☆狼群 提交于 2019-12-08 21:06:30
I install PHP using the PHP installer . And so, the PEAR package is not included . The question now is I need PEAR for Symfony upgrade purpose , but the resources I found on the internet seem to cater for the case where PEAR package is already included in PHP package. What is the best way to install PEAR extension, given that I use PHP installer for installation purpose? I solved the problem. It turns out that you have to select the PEAR option under extension menu when selecting the components for PHP installation in order to install PEAR package. http://lh4.ggpht.com/_SDci0Pf3tzU/SgBXLClDWEI

Fatal error: Call to undefined function: MDB2_Driver_MYSQL::getAll()

天大地大妈咪最大 提交于 2019-12-08 11:37:14
问题 I am upgrading a site from Fedora 14, PHP4, and PEAR DB to Fedora 16, PHP 5.4 and PEAR MDB2 2.5.0b3, and I am getting the error Fatal error: Call to undefined function: MDB2_Driver_MYSQL::getAll(). in /usr/share/php/MDB2.php on line 1892 Obviously, I've checked line 1892 of the MDB2.php file, and it contains the error reporting code for the __call magic method (allows you to call a specific function by passing it into __call ) I have checked for usages of __call , and there don't seem to be

Composer downloading error

为君一笑 提交于 2019-12-08 08:07:58
问题 When I execute: composer install I get the following output: Loading composer repositories with package informati Installing dependencies (including require-dev) [Composer\Downloader\TransportException] The "http://packagist.org/p/phpunit/phpunit$abafcd02d9793416c76c78da3f1fafa0bc4da3ac1acec5c80e51d7904589ea30.json" file could not be downloaded: send of 103 bytes failed with errno=10053 An established connection was aborted by the software installed on the host-computer. (...) On the network

Install Pear Extension with PHP Installer

人盡茶涼 提交于 2019-12-08 07:26:46
问题 I install PHP using the PHP installer. And so, the PEAR package is not included. The question now is I need PEAR for Symfony upgrade purpose, but the resources I found on the internet seem to cater for the case where PEAR package is already included in PHP package. What is the best way to install PEAR extension, given that I use PHP installer for installation purpose? 回答1: I solved the problem. It turns out that you have to select the PEAR option under extension menu when selecting the