Questions tagged «pear»

3
如何在Ubuntu上安装PEAR / PHPUnit的更新版本?
在线大多数教程都显示了如何通过执行以下操作来安装PEAR: sudo apt-get install php-pear 这将安装版本1.6.1。它很棒,因为它超级简单!我的问题是我想安装PHPUnit,并且它需要PEAR版本1.8.1,所以我的PHPUnit安装失败。那么,如何在Ubuntu上安装较新版本的PEAR?
42 ubuntu  upgrade  php  pear 

2
无法从OSX Lion访问pear.php.net
我为这个问题感到困惑。我有2个单独的Mac,它们根本无法通过名称或IP访问pear.php.net。 这是我尝试解决/缩小此问题的症状和步骤。 $ ping -c 4 pear.php.net PING euk1.php.net (5.77.39.20): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 --- euk1.php.net ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss $ ping -c 4 5.77.39.20 PING 5.77.39.20 (5.77.39.20): …
8 osx-lion  ip  pear 

4
尝试从PEAR安装PHPUnit时出错
$ 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 can optionally use PHP extension "xdebug" (version >= 2.0.5) No valid packages found install failed 我需要做些什么才能安装PHPUnit?
8 php  pear  phpunit 

4
如何将梨从1.4.9升级到最新版本?
它看起来可能是 1.7.2但我没有在梨网站上找到任何明确的,“这是梨的当前版本”。 我正在尝试在一个我并不熟悉的系统上升级PEAR。 梨版产量...... PEAR Version: 1.4.9 PHP Version: 5.1.6 Zend Engine Version: 2.1.0 Running on: Linux... 我跑了 pear upgrade pear 并且包含此消息。 pear/PEAR dependency package "pear/Archive_Tar" installed version 1.3.5 is not the recommended version 1.3.3, but may be compatible, use --force to install pear/Archive_Tar requires PEAR Installer (version >= 1.5.4), …

2
为什么显示ubuntu的xampp中未安装pear和phpunit?
我已经在Ubuntu 12.04上安装了xampp 1.8。在/ opt / lampp / lib / php / PEAR中,我可以看到有两个名为PEAR和PHPUnit的目录。 但是,当我从终端运行pear -V或phpunit时,它给出以下消息: 当前未安装程序“ pear”。您可以通过键入以下命令进行安装:sudo apt-get install php-pear 和 当前未安装程序“ phpunit”。您可以通过键入以下命令进行安装:sudo apt-get install phpunit 为什么显示这些消息?我需要再次安装pear和phpunit吗?如果是这样,该怎么做,因为我仍然有PEAR和PHPUnit目录/ opt / lampp / lib / php /
1 ubuntu  php  xampp  pear  phpunit 

1
-bash:pear:找不到命令
当尝试通过终端安装phpDoc时,出现以下错误: -bash: pear: command not found 即使我刚刚安装了梨。 在尝试安装phpDoc之前,我安装了Pear并收到以下警告: WARNING! The include_path defined in the currently used php.ini does not contain the PEAR PHP directory you just specified: </Users/Mike/pear/share/pear> If the specified directory is also not in the include_path used by your scripts, you will have problems getting any PEAR packages …
1 unix  wget  pear 

2
Debian Squeeze无法安装php-pear
我使用Debian 6.0.6 sudo apt-get install php-pear 结果是: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may …
1 debian  pear 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.