I am trying to include a file in a PHP script using a relative path. However, the function returns an error stating that the file doesn't exist.
It does exist - I have attached a file structure screenshot too - and other pages can include it without issue.
Code
require_once("../config.php");
Output
Warning: require_once(../config.php): failed to open stream: No such file or directory in /www/sites/c84/7de/example.com/web/inc/sections.php on line 25
Fatal error: require_once(): Failed opening required '../config.php' (include_path='.:/usr/share/php:/usr/share/pear') in /www/sites/c84/7de/example.com/web/inc/sections.php on line 25
File Structure Screenshot