I am playing with php abd I want to write an xml file to the server but it says that I can't do it because php doesn't have writing privledges. How do I give writing privledges to php on OpenBSD? What would be the most secure way?
Thanks!
I get -rwxr-xr-x
so it looks like everything should be able to execute it.
I also tested out php and it does work on the server.
Thanks for the replies. I wish i had a clue about this stuff but this is soo odd I have no idea where to start.
What distro ?
it is actually openBSD.
How did you install Apache and PHP ?
It is bundled with the distro. I didn't compile it.
The /usr/lib/apache/modules/libphp4.so file exist?
I double checked and yes it does exist.
Thanks for the reply. I have no idea even where to begin with this...
Currently my apache is set up with
DirectoryIndex index.htm
I want to add to the directoryIndex index.php so I do.
DirectoryIndex index.htm index.php
when I restart apache and the log says.
[Wed Oct 12 11:36:40 2005] [notice] SIGHUP received. Attempting to restart
Syntax error on line 195...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.