Warning: simplexml_load_file failed to open stream: Permission denied

On the local machine, everything works fine, but the upload to the hosting has errors:

Warning: simplexml_load_file() [function.simplexml-load-file]: failed to open stream: Permission denied in /fori.php on line 6
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "" in /fori.php on line 6

The code, in addition to all the functions there (I tried to remove them, the same errors):


As far as I understand, I do not have enough rights, but how can I increase my rights if this is the case?) I’ve been fiddling around for the 2nd day and, as usual, I’m the only one in this situation, so I didn’t find anything I needed in the search engines. ..


Here’s the way


Answer 1, authority 100%

Give read and write access to the file and folder you are working with.

Answer 2, authority 100%

Access rights on a remote server are set on folders with files via ftp access using Total Commander.