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
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
相关文章推荐
- PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- (转载)PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2611816 bytes)错误的解决
- PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- PHP错误——Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes)
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 44 bytes) in
- 问题解决Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 38218371 bytes)
- 执行php程序的时候,报错Allowed memory size of 134217728 bytes exhausted (tried to allocate 83 bytes)
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2611816 bytes) 今天要
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes)
- PHP Fatal error: Allowed memory size of 134217728 bytes exhausted……解决方法
- magento PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate xxxxx)
- php项目编写过程中Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3214636 byt
- Allowed memory size of 33554432 bytes exhausted (tried to allocate 43148176 bytes) in php