打包二进制文件后启动一直报zend_mm_heap corrupted

RainLee

问题描述

将项目打包成二进制文件后,启动项目后一直报 zend_mm_heap corrupted。用打包时生成phar文件启动就正常。这是什么问题呢?
截图

162 1 0
1个回答

damao

执行 php -v ,看下本地php版本多少,是不是和二进制php版本不一致

  • tanhongbin 13天前

    加大内存试试

  • RainLee 12天前

    本地版本和打包版本都是8.1,functions.php有添加 ini_set('memory_limit', '512M');

  • tingfeng 8天前

    遇到同样的情况

  • tanhongbin 8天前

    现在还不能用8.1,不稳定,有bug 最好用8.0 没任何问题,我现在就打包的8.0无bug

  • tingfeng 8天前

    感谢,有效果

🔝