Useful Values from the php.ini File on Hosting
Let's consider useful settings
from the php.ini file. These settings
are typically available for editing
on virtual hosting:
| Setting | Description |
|---|---|
display_errors |
Output errors to the browser. The value on
enables output, and the value off
disables it.
|
memory_limit |
The maximum amount of RAM allocated to a single script. Measured in megabytes. |
max_execution_time |
The maximum execution time for a script. Measured in seconds. |
post_max_size |
The maximum size of data sent via the POST method. Measured in megabytes. |
upload_max_filesize |
The maximum size of files
uploaded via an input with the type file.
Measured in megabytes.
|
Explain what the
memory_limit setting is responsible for.
Explain what the
max_execution_time setting is responsible for.
Explain what the
post_max_size setting is responsible for.
Explain what the
upload_max_filesize setting is responsible for.