PHP error category

Filesystem

File paths, permissions, and streams.

Filesystem errors arise when file paths, permissions, and streams 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
Failed to open stream no such file Warning: require(%s): Failed to open stream: No such file or directory warning
Failed to open stream permission denied Warning: file_put_contents(%s): Failed to open stream: Permission denied warning
open_basedir restriction in effect Warning: file_exists(): open_basedir restriction in effect. File(/etc/passwd) is not within the allowed path(s) warning

Helpful tools