Container detection generate a warning if open_basedir is set #2155

Closed
opened 2026-10-05 01:08:07 +02:00 by adam · 0 comments
Owner

If open_basedir is set in php.ini, is_in_container will generate a warning when called :

Warning: file_exists(): open_basedir restriction in effect. File(/proc/2/sched) is not within the allowed path(s)

This is fixed in the following commits :

If `open_basedir` is set in `php.ini`, `is_in_container` will generate a warning when called : ``` Warning: file_exists(): open_basedir restriction in effect. File(/proc/2/sched) is not within the allowed path(s) ``` This is fixed in the following commits : - master : 57f725d8e68b44bd8f9fdb6dadaf2725cc12ff21 - 16.X : dd159f4604fbaedd26796875e7678d8fca553a17 <!-- github-sync-id:3705769396 -->
adam closed this issue 2026-10-05 01:08:07 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#2155