I run the x
file normally, in it I add through require_once
several other files, and through the browser I execute it normally.
But when I run the file through the terminal it does not find the same files, it does not require_once, why? How do I fix this?
Error example
Fatal error: require(): Failed opening required '../../../../../x.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/versions/actual/includes/servers/php/