Home > Backend Development > PHP Tutorial > What is the maximum memory limit of php

What is the maximum memory limit of php

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2023-03-03 10:46:02
Original
3471 people have browsed it

What is the maximum memory limit of 1.php

2. Does the number of php versions (32-bit or 64-bit) have an impact on the maximum memory limit?

3. It is known that below php7, the maximum memory limit for single script execution is 2G, and php7 has no limit;

Reply content:

What is the maximum memory limit of 1.php

2. Does the number of php versions (32-bit or 64-bit) have an impact on the maximum memory limit?

3. It is known that below php7, the maximum memory limit for single script execution is 2G, and php7 has no limit;

No, as long as memory_limit is set to -1 in PHP, it will not limit the memory limit when you run the cli script. The rest is that the operating system ulimit will limit the maximum memory of any process.

Configuration

memory_limit

It can be set, and then it depends on your available physical memory.

Related labels:
php
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template