I just installed Ubuntu and LAMPP. I am very new to all of this so bear with me. I've installed LAMPP to /opt/lampp
My /opt/lampp/htdocs folder is where http://localhost points at. For the past hour, I wasn't able to write in that directory. I finally did sudo chown rondog /opt/lampp/htdocs and now I cant write. (rondog is me, the only actual "user" on the machine)
When I run one of my PHP scripts, I get a permission denied error when I attempt to call an fopen method. What do I need to do so I am able to write to this folder as well as PHP can execute commands such as fopen and fwrite? Thank you