local.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Allowed memory size of 134217728

 

local.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/CacheBase.php:186解决内存限制:

        set_time_limit(0);//设置运行时间
        ini_set('memory_limit','2048M');//设置内存

 

你可能感兴趣的:(PHP)