zlzyp 发表于 2018-12-20 14:40:47

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to all

  # 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



页: [1]
查看完整版本: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to all