首页 > Operation System > php加装apc模块儿的问题

php加装apc模块儿的问题

2008年12月12日 发表评论 阅读评论

今天给一台机器装php的加速模块儿apc的时候
当我输入命令:
pecl install apc
报错:

“Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /usr/share/pear/PEAR/PackageFile/v2/Validator.php on line 1831”

于是在/usr/share/pear/pearcmd.php里加一句:

@ini_set(‘memory_limit’, ’16M’);


再装就好了

原创文章,转载请注明: 转载自嘻嘻哈哈的部落格(blog)

本文链接地址: php加装apc模块儿的问题

分类: Operation System 标签: , , ,
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word