I repeatedly get the following error when I try to save a processed document to a temp folder using php. (btw I running apache on my local machine)
"Warning: DOMDocument::save(/tmp/lecture.xml) [domdocument.save]: failed to open stream: Permission denied in /Users/JCWitt/WebPages/plaoul/text/textdisplay.php on line 278"
A couple of questions here:
1) When I tell the server to save the file in /tmp/
is it looking for a folder in the ServerRoot or the DocumentRoot?
2) Second can I do something in httpd.conf to give php permissions to save files? And can you tell me what I might add?
Thanks for your help.