B
B
Bagumices2014-06-17 06:15:06
linux
Bagumices, 2014-06-17 06:15:06

How to give permission to execute a PHP script?

There is a PHP script that generates an xml file. When calling the DomDocument - save class method, a warning pops up:

Warning: DOMDocument::save(rss.xml): failed to open stream: Permission denied in /home/roman/server/site.com/RSS/RSS_create.php on line 31

I tried to give permission to the script with chmod 777 and chmod +x , it didn't help. Tell me what's the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Papa, 2014-06-17
@Bagumices

There is no write access to the folder where the script writes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question