我看到了this thread,这也正是我所做的,在Ubuntu10.4上将PHP降级到5.2版本
当以root用户身份运行时,我只是得到了下载,没有安装消息,有什么想法吗?
pear install Mail_Mime-1.8.0.tgz
downloading Mail_Mime-1.8.0.tgz ...
Starting to download Mail_Mime-1.8.0.tgz (31,292 bytes)
.........done: 31,292 bytes我查看了phpinfo(),除了pear路径,什么也看不到
include_path .:/usr/share/php:/usr/share/pear .:/usr/share/php:/usr/share/pear运行pear列表我得到了这个
pear list
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.3 stable
Console_Getopt 1.2.3 stable
PEAR 1.9.0 stable
Structures_Graph 1.0.2 stable
XML_Util 1.2.1 stable发布于 2010-10-01 03:38:45
我找到了一个变通的方法,虽然不是最好的解决方案,但确实有效。使用Ubuntu下载中心,搜索pear并安装所需的软件包。大多数都列出了一个前缀php-
php-mail发布于 2010-09-29 22:09:28
请手动下载Mail_Mime文件并解压到/usr/share/pear/
https://stackoverflow.com/questions/3822373
复制相似问题