I read somewhere (and now I'm not finding where) that in version 7 of php there is no memory lithmite. That is, the memory that can be allocated would be the RAM of the machine. Does it proceed? Has anyone read anything about it?
I read somewhere (and now I'm not finding where) that in version 7 of php there is no memory lithmite. That is, the memory that can be allocated would be the RAM of the machine. Does it proceed? Has anyone read anything about it?
According to the manual:
memory_limit integer
Defines the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent scripts from write all the available memory on the server. Note that To have no memory limit, set this directive to -1.
I've noticed that in previous versions, PHP limited memory to 4GB, so the most I could achieve was 4GB - 1MB:
ini_set('memory_limit', '4095M');