[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