pear升级到1.9 Allowed memory size of 8388608 bytes exhausted
来源:互联网 发布:淘宝企业店铺怎么避税 编辑:程序博客网 时间:2024/05/18 18:46
用wmap5的时候,自带了pear1.6,但是版本太低运行phpunit3.4
修改文件
pearcmd.php
添加
@ini_set('memory_limit', '16M');
你可以修改php.ini 。我的人品太差,修改了也不行。。。
pear upgrade pear
pear -V
升級 PEAR: ->1.3.6->1.4.11->1.6
幫一台 server 裝新版的 Log 套件,輸入pear install Log
之後卻顯示No handlers for package.xml version 2.0
到 pear.php.net 瞧瞧,果然有說明(http://pear.php.net/manual/en/faq.php)
原來是這台 server 的 PEAR 版本太舊了,所以不能裝。
要先把 PEAR 升級之後,再來裝套件。
先下指令:pear upgrade PEAR
結果還是不行,出現:
downloading PEAR-1.6.0.tgz ...
Starting to download PEAR-1.6.0.tgz (296,465 bytes)
.........................done: 296,465 bytes
requires package `PEAR' >= 1.3.3
requires package `Console_Getopt' >= 1.2
PEAR: Dependencies failed
照官網的說明,這是 PEAR 太舊的關係,要先把 PEAR 升級到 1.3.3,再升級到 1.6.0。
於是輸入:pear upgrade -a PEAR-1.3.3
pear upgrade -a PEAR
但是這樣只能升級到 1.3.3,要升級到 1.6.0 還是出現錯誤訊息。
試了幾次都沒辦法升到 1.6.0,後來在首頁看到:
[February 1, 2007] As of January 1, 2008, PEAR will be dropping support for PEAR versions 1.3.6 and earlier. If you are using PEAR 1.3.6 or earlier, we strongly encourage you to upgrade using these simple steps:
pear upgrade –force PEAR-1.3.6 Archive_Tar-1.3.1 Console_Getopt-1.2
pear upgrade –force PEAR-1.4.11
pear upgrade PEAR
喔!要一步步來啊,先升級到 1.3.6,再升級到 1.4.11,最後再升級到最新版的 PEAR。
照著這個順序總算是把 PEAR 升級到 1.6.0 了(真感動~~~)
- pear升级到1.9 Allowed memory size of 8388608 bytes exhausted
- Allowed memory size of 8388608 bytes exhausted
- Allowed memory size of 134217728 bytes exhausted
- Fatal error: Allowed memory size of 8388608 bytes exhausted
- Fatal error: Allowed memory size of 8388608 bytes exhausted
- Fatal error: Allowed memory size of 8388608 bytes exhausted解决方法
- Fatal error: Allowed memory size of 8388608 bytes exhausted
- Fatal error: Allowed memory size of 8388608 bytes exhausted解决方法
- Fatal error: Allowed memory size of 8388608 bytes exhausted
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes) 问题解决
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes)
- Fatal error: Allowed memory size of 20971520 bytes exhausted
- 解决PHP之 Allowed memory size of xxx bytes exhausted
- Fatal error: Allowed memory size of *** bytes exhausted
- Fatal error: Allowed memory size of 33554432 bytes exhausted
- PHP: Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted
- php的Allowed memory size of 134217728 bytes exhausted问题
- PHP 上传文件 Allowed memory size of 134217728 bytes exhausted
- SDL解析——SDL事件处理(1)
- 多线程多任务学习笔记(一)
- ASP.NET弹出式日历选择控件
- Java赋值运算符(+=、-=、*=、/=)使用中遇到的一些问题
- Tomcat 6.0.20 在Windows下的免安装配置
- pear升级到1.9 Allowed memory size of 8388608 bytes exhausted
- 文本块收缩展开效果
- 多线程多任务学习笔记(二)
- pear1.9下安装phpunit3.4
- asp.net 利用winrar 实现服务器打包下载
- C++ Virtual基础知识讲解
- Android 开机动画
- Google Map Api 的简单应用之方法属性二
- 使用Visual C#制作可伸缩个性化窗体