PHP error category
php.ini
PHP configuration directives.
php.ini errors arise when php configuration directives affect an executing PHP application or its supporting service. Use the exact signature and runtime context to narrow the cause before changing configuration.
The guides in this category separate code defects from environment differences, show focused diagnostics, and favor site-scoped corrections that preserve unrelated applications.
Guides in this category
| Title | Pattern | Severity |
|---|---|---|
| Allowed memory size exhausted | Fatal error: Allowed memory size of %d bytes exhausted (tried to allocate %d bytes) in %s on line %d |
fatal |
| display_errors change does not show startup errors | display_errors => Off => Off |
warning |
| Function disabled by disable_functions | Fatal error: Uncaught Error: Call to undefined function %s() |
fatal |
| max_input_vars truncates form data | Warning: Unknown: Input variables exceeded %d |
warning |
| Maximum execution time exceeded | Fatal error: Maximum execution time of %d seconds exceeded in %s on line %d |
fatal |
| PHP CLI loads a different php.ini | Loaded Configuration File => %s |
warning |
| PHP error_reporting hides warnings | error_reporting() returns %d but expected E_ALL |
warning |
| PHP reports no loaded php.ini | Loaded Configuration File => (none) |
warning |
| post_max_size exceeded and POST is empty | POST Content-Length of %d bytes exceeds the limit of %d bytes |
warning |