您的位置:首页 > 编程语言 > PHP开发

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 49 bytes)

2010-08-16 12:44 519 查看
[root@localhost ~]# sh /qeedoodb/cron/refreshUserUnion.sh

PHP Notice: Constant FILE_BASE already defined in /var/www/html/amfphp/services/system/Connect.php on line 2

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 49 bytes) in /var/www/html/amfphp/services/refresh/RefreshUserUnion.php on line 196

cat /etc/php.ini

memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)

解决方法:

vi /etc/php.ini

memory_limit = 256M ;

之后重启: service httpd restart

本文出自 “Holy” 博客,请务必保留此出处http://holy2010.blog.51cto.com/1086044/376228
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐