1
I run the file x
normally, in it I include through require_once
various other files, and through the browser I run it normally.
But when I run the file by terminal it does not find the same files, it gives error in require_once, why? How to fix it?
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/